![]() ![]() |
Apr 10 2006, 05:12 AM
Post
#1
|
|
![]() Group: Members Posts: 1,002 Joined: 28-April 05 From: Germany Member No.: 7,027 |
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 |
|
|
|
Apr 10 2006, 05:39 AM
Post
#2
|
|
|
Group: Members Posts: 1,284 Joined: 31-January 04 From: Vancouver, BC -> NYC, NY Member No.: 1,633 |
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. |
|
|
|
Apr 10 2006, 05:54 AM
Post
#3
|
|
![]() Group: Members Posts: 1,002 Joined: 28-April 05 From: Germany Member No.: 7,027 |
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 |
|
|
|
Apr 10 2006, 06:13 AM
Post
#4
|
|
|
Group: Members Posts: 1,284 Joined: 31-January 04 From: Vancouver, BC -> NYC, NY Member No.: 1,633 |
if you can sudo bash (or if sudo su works for you) you can always type "passwd root"
|
|
|
|
Apr 10 2006, 06:16 AM
Post
#5
|
|
![]() Group: Members Posts: 1,002 Joined: 28-April 05 From: Germany Member No.: 7,027 |
QUOTE(bluedevils @ Apr 10 2006, 04:13 PM) 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 |
|
|
|
Apr 10 2006, 06:44 AM
Post
#6
|
|
|
Group: Members Posts: 1,284 Joined: 31-January 04 From: Vancouver, BC -> NYC, NY Member No.: 1,633 |
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!
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 08:45 AM |