LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Not able to set root password upon installation of Slackware 11 (https://www.linuxquestions.org/questions/linux-software-2/not-able-to-set-root-password-upon-installation-of-slackware-11-a-530080/)

slee97070 02-18-2007 02:26 AM

Not able to set root password upon installation of Slackware 11
 
Just installed Slackware 11.0 and it didn't give the option of setting a root password. Reinstalled completely and no root user found. How can this be resolved.

MS3FGX 02-18-2007 02:27 AM

It should ask you during the installation. You are saying it didn't?

slee97070 02-18-2007 02:40 AM

actually we were installing it with the xwindows and it didn't ask...we reinstalled with the xwindows and everything worked fine

anupamsr 02-18-2007 04:16 AM

Well I don't use Slackware so I may don't know what exactly happened, but here is how you can set your root password:
1. Boot from a Live CD
2. mount your Linux installation to some directory (say /mnt/temp/ )
3. chroot /mnt/temp /bin/bash
4. passwd

exit and reboot into the linux partition.

Otherwise, if you have 'sudo' access:
1. sudo su
2. passwd


All times are GMT -5. The time now is 12:40 AM.