LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2003, 02:45 PM   #1
ole
LQ Newbie
 
Registered: Mar 2003
Posts: 6

Rep: Reputation: 0
Question su problem


When I type in my terminal 'su', than he says: wrong password... (immediately)
Normally he always asked me the password, but since a few days not anymore...
So I can't log in as a root in my terminal

mvg,

ole (redhat 8.0, KDE 3.0)
 
Old 04-02-2003, 03:12 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
try 'su root'

vriendelijke groeten terug
 
Old 04-02-2003, 03:38 PM   #3
ole
LQ Newbie
 
Registered: Mar 2003
Posts: 6

Original Poster
Rep: Reputation: 0
su root has the same effect: he says
su: wrong password


mvg ,

ole
 
Old 04-02-2003, 03:46 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Can you login from the console?

You could start a new shell by trying "su -".
 
Old 04-02-2003, 03:47 PM   #5
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Try loggin in in single user mode, there you can change the root password. Reboot and enter the command linux single or if that doesn't work, try passing linux init=/bin/bash.
Btw, it will be easier for people to help you in the future if you state your distro in your personal profile.
 
Old 04-02-2003, 03:50 PM   #6
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
Maybe your enter key is broken
 
Old 04-02-2003, 03:57 PM   #7
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by bahamat
Maybe your enter key is broken
 
Old 04-02-2003, 03:59 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by bahamat
Maybe your enter key is broken
__________________
If you think XP isn't based on DOS open a "console" and type mem
You would think the would still get a password prompt - wouldn't you?

As for the sig - isn't that because XP loads a dos shell in order to run the mem command?
 
Old 06-25-2003, 06:52 PM   #9
cruzfernandez
LQ Newbie
 
Registered: Jun 2003
Posts: 5

Rep: Reputation: 0
Lightbulb

Maybe your /bin/su doesn't have setuid bit on.
$ ls -l /bin/su
-rwsr-sr-x 1 root root 23176 2003-06-24 15:46 /bin/su


You should see this (look the `s` character), enter as root (press CTRL-ALT-F1), and run:

$chmod +s /bin/su
$

hope this helps. ;-)
 
Old 06-25-2003, 07:09 PM   #10
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Arch
Posts: 452

Rep: Reputation: 35
Quote:
Originally posted by bahamat
Maybe your enter key is broken
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration