OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Su Asks For Password!
daniel3000
post 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
Go to the top of the page
 
+Quote Post
bluedevils
post 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.
Go to the top of the page
 
+Quote Post
daniel3000
post 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
Go to the top of the page
 
+Quote Post
bluedevils
post 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"
Go to the top of the page
 
+Quote Post
daniel3000
post 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)
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
Go to the top of the page
 
+Quote Post
bluedevils
post 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!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd May 2013 - 05:03 PM