LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   su problem (https://www.linuxquestions.org/questions/linux-newbie-8/su-problem-53093/)

ole 04-02-2003 02:45 PM

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)

iceman47 04-02-2003 03:12 PM

try 'su root'

vriendelijke groeten terug :)

ole 04-02-2003 03:38 PM

su root has the same effect: he says
su: wrong password
:(

mvg :),

ole

david_ross 04-02-2003 03:46 PM

Can you login from the console?

You could start a new shell by trying "su -".

iceman47 04-02-2003 03:47 PM

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.

bahamat 04-02-2003 03:50 PM

Maybe your enter key is broken

iceman47 04-02-2003 03:57 PM

Quote:

Originally posted by bahamat
Maybe your enter key is broken
:D

david_ross 04-02-2003 03:59 PM

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?

cruzfernandez 06-25-2003 06:52 PM

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. ;-)

Mojojo 06-25-2003 07:09 PM

Quote:

Originally posted by bahamat
Maybe your enter key is broken
:D :D


All times are GMT -5. The time now is 06:28 PM.