Help - Search - Members - Calendar
Full Version: Su Asks For Password!
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Sharp ROMs
daniel3000
Hello,

restoring my zaurus setup now after my main unit has been stolen...
just installed Cacko 1.23b1 successfully and now wondering about why su asks for a password?!

I can enter "sudo su" in order to become super user, then it doesnt ask for a password.
But if I just enter "su" it requires a password, which I have never set and don't know.

Any ideas why this is and how can I delete that password? as root "passwd" then pressing enter twice does not delete the password...

thanks!
daniel
bluedevils
The passcode set in security is the root password. Sudo opens a temp shell as super user already so no *root* password is required to su. Only your user password maybe required

I've never heard of using sudo su, but I have used sudo bash to get a root shell. I wonder what the differences are.
daniel3000
QUOTE(bluedevils @ Apr 10 2006, 03:39 PM)
The passcode set in security is the root password.  Sudo opens a temp shell as super user already so no *root* password is required to su.  Only your user password maybe required

I've never heard of using sudo su, but I have used sudo bash to get a root shell.  I wonder what the differences are.
*



hmm - good idea. I just tried it. I've indeed set a passcode before.
But when I enter it after "su" I get "Password incorrect".
Also, if I clear the passcode again, su still asks for the password.
How can I delete the super user password?

Thanks
daniel
bluedevils
if you can sudo bash (or if sudo su works for you) you can always type "passwd root"
daniel3000
QUOTE(bluedevils @ Apr 10 2006, 04:13 PM)
if you can sudo bash (or if sudo su works for you) you can always type "passwd root"
*


Ah, okay. Thanks. Now the password is gone.
But it still asks for a password. I have to press enter (entring "no" password).
Once upon a time <g>, it even didn't ask me for a password. Any way to get back to that? It was more convenient.

daniel
bluedevils
I'm not sure on this, but probably you can delete the password entry in /etc/shadow. I do not mean delete root's entry, but the encrypted password inbetween the first set of colons after the word root. Make a backup of the file before hand!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.