Re: [lfs-support] Can't change root password

2012-07-14 Thread Bruce Dubbs
Эмиль Кранц wrote: > the line "passwd: password changed" says otherwise > you have changed your password. > there will be no visible indications of changing password. > try to log in Better, look at /etc/passwd and /etc/shadow. You should see something like: /etc/passwd: root:x:0:0:root:/root:/b

Re: [lfs-support] Can't change root password

2012-07-14 Thread James Pinto
Hey glad to see that worked! u need to run those commands everytime u reboot ur host system. this changes the root to the root of lfs. good luck! glad that worked out... On Sat, Jul 14, 2012 at 4:22 PM, gmspro wrote: > I had to do this to change password: > > export LFS=/mnt/lfs > mount /dev/sdb

Re: [lfs-support] Can't change root password

2012-07-14 Thread gmspro
I had to do this to change password: export LFS=/mnt/lfs mount /dev/sdb8 /mnt/lfs mount -t proc proc /mnt/lfs/proc mount --rbind /dev /mnt/lfs/dev chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /bin/bash --login -- http://linuxfromscra

Re: [lfs-support] Can't change root password

2012-07-14 Thread James Pinto
If your using $BDUX replace $LFS with $BDUX Check if the lfs variable is set always echo $LFS replace with BDUX instead of LFS if ur using BDUX export LFS=/mnt/lfs Check if the lfs variable is set always echo $LFS Replace sda7 with whatever your lfs partition is (here also replace with BDUX ins

Re: [lfs-support] Can't change root password

2012-07-14 Thread James Pinto
You used $BDUX ? If ur using the instructions given in the book u should be using sudo chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$' PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login the $LFS variable instead. Anyhow if u used $BDUX instead try this command echo $BDUX and t

Re: [lfs-support] Can't change root password

2012-07-14 Thread James Pinto
I think I know what the problem is when it asks u for a password u think it is not typing anything beacuse it doesnt show on the screen (dont worry it is getting typed its just a security feature of unix and linux systems not to show the password or * sign on the screen u can still type the passwor

Re: [lfs-support] Can't change root password

2012-07-14 Thread Andrew Benton
On Sat, 14 Jul 2012 09:42:21 +0100 gmspro wrote: > @james, > > I logged in as: > > chroot "$BDUX" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' > PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login > > Then i tried to change password. > It doesn't give me the prompt to type password

Re: [lfs-support] Can't change root password

2012-07-14 Thread Эмиль Кранц
This is what you have posted: root:/etc# passwd root Changing password for root Enter the new password (minimum of 5 characters) Please use a combination of upper and lower case letters and numbers. Bad password: too short. Warning: weak password (enter it again to use it anyway). passwd: passwor

Re: [lfs-support] Can't change root password

2012-07-14 Thread gmspro
@james, I logged in as: chroot "$BDUX" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login Then i tried to change password. It doesn't give me the prompt to type password. It directly ends. I didn't/can't type any password. It doesn't take

Re: [lfs-support] Can't change root password

2012-07-14 Thread Эмиль Кранц
the line "passwd: password changed" says otherwise you have changed your password. there will be no visible indications of changing password. try to log in 2012/7/14 gmspro > Hi, > > I completed chapter 6. > During installation of chapter 6 i didn't set root password. > After completing and doi

Re: [lfs-support] Can't change root password

2012-07-13 Thread James Pinto
Hi "Enter the new password (minimum of 5 characters) Please use a combination of upper and lower case letters and numbers." Please do as the error tells you Just enter a pasword that is more than five characters use at least one capital letter and use numbers also. It should be a combination of

[lfs-support] Can't change root password

2012-07-13 Thread gmspro
Hi, I completed chapter 6. During installation of chapter 6 i didn't set root password. After completing and doing a chroot, i tried to chage root password and get this error message every time. root:/etc# passwd root Changing password for root Enter the new password (minimum of 5 characters) Pl