Password file problem

Gerard Beekmans gerard at linuxfromscratch.org
Fri Jul 28 13:39:59 PDT 2000


> But it does matter.  You can't logon to change your password.
> Clyde Wilson

I know, that's why root's password gets changed within the chroot
environment. There you don't have to login as root in order to change
the password. Really, the line echo "blah" /etc/passwd is just a stub so
the install program works as expected. In configuring essential
software, ther's the section:

Creating root password

Choose a password for user root and create it by running the following
command:


     root:~# passwd root

After that you have a regular /etc/passwd with an encoded password, you
can reboot (after you finished chapter 8) and use it. Works just fine.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list