LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   root password?? what is it?? (https://www.linuxquestions.org/questions/linux-newbie-8/root-password-what-is-it-95541/)

QuTaR 09-22-2003 11:40 AM

root password?? what is it??
 
hi all, i have damn small linux, works fine but i dont know the root password, i haven't evan set one... can some1 help ASAP.

any input will help

DrOzz 09-22-2003 12:02 PM

well if its asking for one, and if you left it empty and pressed enter and it still says incorrect, then you must have obviously set one...the computer don't lie :D
so since you didn't mention if you did or not, i will recommend just to press enter and leave it empty when it asks for one, and if that is the case, then i in turn suggest you set a password on the root account.

joseph 09-22-2003 08:39 PM

I am not sure whether it is same with redhat, but in redhat just type ctrl+x and then type single user.
when you in the prompt, just type passwd and then set your password there.
Reboot your linuz then try to login as root and give it the password that you just setup just now.

I am not sure whether it is same with redhat but it is worth to try.

hammerheaad 09-22-2003 10:52 PM

Try damnsmalllinux worked for me.

david_ross 09-23-2003 08:41 AM

Quote:

Originally posted by hammerheaad
Try damnsmalllinux worked for me.
Please stay on topic - suggesting a differet distro is not going to help solve this problem.

Follow these steps to reset your root password:
1) Reboot your computer.
2) When the grub bootloader appears on the screen select the entry for your linux system - it may be the only one.
3) Press the "e" key to edit the entry.
4) Select the line beggining with "kernel".
5) Press the "e" key again
6) Type " single" no quotes (space then single)
7) Press enter
8) Press "b" to boot
9) When the prompt appears type "passwd" press enter
10) Enter a new password when prompted
11) Reboot by typing "shutdown -r now"

chup 09-23-2003 01:01 PM

Quote:

Originally posted by david_ross
[B]Please stay on topic - suggesting a differet distro is not going to help solve this problem.
i think he is trying to say he used "damnsmalllinux" as the root passwd, and it worked

g00$e 09-23-2003 02:38 PM

Quote:

If all else fails: "rm -rf /
Man that is dangerous sig to be posting in a newbie forum.

ksgill 09-23-2003 02:39 PM

Quote:

Man that is dangerous sig to be posting in a newbie forum.
:D lol :D

micxz 09-23-2003 02:51 PM

You got to learn somehow, - funny sig


All times are GMT -5. The time now is 12:46 PM.