ROOT password OK su password not!

Posted on 2004-09-18
Last Modified: 2010-04-22
-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.

Question by:Darrell Thomas
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 40

Expert Comment

ID: 12092441
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.

Author Comment

by:Darrell Thomas
ID: 12092468
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.

LVL 40

Accepted Solution

jlevie earned 500 total points
ID: 12092551
Actually it is possible to fix anything that happens to a Linux system short of a failed disk drive without re-installing. Even in a case where the OS won't boot it can be repaired from a rescue boot. The difficulty lies in figuring out what's broken/missing. Sometimes that means setting up an identical system and comparing what packages are installed on each, adding/removing packages on the damaged system to bring then into sync. Other times it may be just a matter of running an 'rpm -q --verify -a' and see what is shown as corrupt.

Having said that I will also say that one has to weigh the amount of time it will take for a fix against the "cost" of a re-install. I always examine the failing system enough to figure out which is the "cheapest" solution.

Author Comment

by:Darrell Thomas
ID: 12092634
true... very true...

Expert Comment

ID: 12343072
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.

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (, affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question