Link to home
Start Free TrialLog in
Avatar of Darrell Thomas
Darrell ThomasFlag for United States of America

asked on

ROOT password OK su password not!

-I have been frequently going in and out of 'su' mode with my password to do some admin on my Mandrake 10.0 box.  

-I have also been able to login as "ROOT"  using the same password(with the nasty red screen and the "be careful" warning).

-I have not changed my password.

recently when I try to go to 'su' mode, I type in the password and it says the password is invalid.  I'm certain that I have typed it correctly (many times over, and I'm certain caps locks were off)

-I still am able to logout, and relog in as "root" with the same password!  So the password works if I totally log out and back in, but not if I try to go to 'su' from the command prompt. hmmm..

Why will this password not work with 'su', and how can I fix it?
The only thing I can think of is that I have just recently downloaded the security fixes (RPMs) from the Mandrake website.

Thanks..
Avatar of jlevie
jlevie

I don't use Mandrake and I don't know what changes the latest security fixed may have introduced, but I'd guess they've placed restrictions on the use of su. It could be that, like FreeBSD, the user must be listed as a member of a specific group, or that the user must be mentioned in some specific file. The man page for su (see 'man su') should tell you.

Of course it is also possible that the latest fixes broke something.
Avatar of Darrell Thomas

ASKER

I think the latest fix broke something.  I ended up re-installing the entire operating system (not too bad, I hadn't started putting much on there yet) and when I patched with the updates, I persistantly checked to see if I could use "su".  All of the updates were installed, and "su" has returned its functionality.  

Maybe a bad install of some of the updates.  There should be a way to easily "uninstall" them.

I shouldn't have to go back to a clean hard drive just to fix this, but in my case it worked because I didn't really lose any work.

dt
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
true... very true...
i know this answer was accepted, but heres my $0.02.....does mandrake possible use a "wheel" group like i know freebsd does?
if user is not in group wheel, user cannot su.
I dont think i have ever seen a linux system do this, but i am a unix/bsd guy.