LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help! (https://www.linuxquestions.org/questions/linux-newbie-8/help-96581/)

unwrittenlaw 09-25-2003 12:55 AM

Help!
 
how can i change my root password

MasterC 09-25-2003 01:01 AM

Login as root then type:
passwd

Cool

unwrittenlaw 09-25-2003 01:03 AM

well i need help because i forgot my root pasword and i dont know what to do

boby_george 09-25-2003 01:09 AM

Hi,

To change your root password all you have to do is login as the root at the command prompt and type
passwd
This will prompt you to enter the new password.

boby

MasterC 09-25-2003 01:12 AM

Quote:

Originally posted by unwrittenlaw
well i need help because i forgot my root pasword and i dont know what to do
That's a slightly different monster all together:

Boot up with your install CD, enter rescue mode, and get to a command prompt. Edit /etc/passwd, and remove the "x" in root's entry:
Code:

root:x:0:0:root:/root:/bin/bash
Save, exit, reboot, and this time when you login there will be NO root password, so immediately do the above instructions and set a new root password.

Cool


All times are GMT -5. The time now is 04:22 PM.