SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
"su" is going straight to root without asking for a password. So far I've tested this in xterm, konsole, and virtual terminals. Is this a bug or have I done something silly? Trouble is, I can't remember what I've done recently that might have caused it.
Aha, perhaps that's it. I upgraded as follows: 13.37 -> 14 RC1 -> 14 RC4
I had a user and a root password in 13.37, but perhaps only the user password is carried forward during an upgrade and the root password not? (I tend to do clean installs rather than upgrades so I haven't noticed this before.)
Some programs can change the /etc/sudoers file, aading like string:
ALL (ALL) NOPASSWD: ALL
and then su and sudo do not ask the password. In a my country we have a mobile service provider "Megafon", which produces the program named "MobilePartner". On installing these program in /etc/sudoers will added entered line above.
That is really weird. I have a machine with -current installed. Because of driver issues I reverted it back to 13.37 and later back to -current, but at no time any password was blanked. I assume that this is not a standard behavior.