List Info

Thread: changing password after jhalfs




changing password after jhalfs
user name
2007-08-13 12:26:36
help,
   I install lfs by lfs-livecd and jhalfs (svn version)

all work OK !  great 

but when I reboot in host system to adjust and edit some
file, 
when I try to change root password I have this:

passwd root
Changing password for root
Enter the new password (minimum of 5, maximum of 127
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).
Password changed.

and password is null

how can I modify password root ?



thank you



sacardetiscali.it
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

Re: changing password after jhalfs
country flaguser name
Spain
2007-08-13 12:54:41
El Lunes, 13 de Agosto de 2007 19:26, sacarde escribió:
> help,
>    I install lfs by lfs-livecd and jhalfs (svn
version)
>
> all work OK !  great
>
> but when I reboot in host system to adjust and edit
some file,
> when I try to change root password I have this:

Then, you are trying to do that from inside the lfs-livecd
or another host, 
right?

> passwd root
> Changing password for root
> Enter the new password (minimum of 5, maximum of 127
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).
> Password changed.
>
> and password is null
>
> how can I modify password root ?

Have you mounted manually the kernel filesystems and entered
manually into the 
chroot jail to perfom that commad.

Maybe you are trying to change the host root password
instead of assigning one 
to the LFS root user

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

Re: changing password after jhalfs
user name
2007-08-13 13:15:51
M.Canales.es wrote:
> El Lunes, 13 de Agosto de 2007 19:26, sacarde
escribió:
>   
>> help,
>>    I install lfs by lfs-livecd and jhalfs (svn
version)
>>
>> all work OK !  great
>>
>> but when I reboot in host system to adjust and edit
some file,
>> when I try to change root password I have this:
>>     
>
> Then, you are trying to do that from inside the
lfs-livecd or another host, 
> right?
>
>   
>> passwd root
>> Changing password for root
>> Enter the new password (minimum of 5, maximum of
127 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).
>> Password changed.
>>
>> and password is null
>>
>> how can I modify password root ?
>>     
>
> Have you mounted manually the kernel filesystems and
entered manually into the 
> chroot jail to perfom that commad.
>
> Maybe you are trying to change the host root password
instead of assigning one 
> to the LFS root user
>
>   
If the kernel filesystems are not mounted, the exact problem
described 
occurs.

-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

Re: changing password after jhalfs
user name
2007-08-13 14:30:33
> If the kernel filesystems are not mounted, the exact
problem described
> occurs.

I do:

mount /dev/sda10 /mnt/sda10
mount -t proc none /mnt/sda10/proc
mount -t sysfs none /mnt/sda10/sys
chroot /mnt/sda10 /bin/bash

what else ?


but the error is the same
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

Re: changing password after jhalfs
user name
2007-08-13 14:42:31
> If the kernel filesystems are not mounted, the exact
problem described
> occurs.

sorry,
I forgot

mount -v --bind /dev /mnt/sda10/dev


now works !!


thankyou
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

Re: changing password after jhalfs
country flaguser name
Spain
2007-08-13 15:12:36
El Lunes, 13 de Agosto de 2007 21:30, sacarde escribió:
> > If the kernel filesystems are not mounted, the
exact problem described
> > occurs.
>
> I do:
>
> mount /dev/sda10 /mnt/sda10
> mount -t proc none /mnt/sda10/proc
> mount -t sysfs none /mnt/sda10/sys
> chroot /mnt/sda10 /bin/bash
>
> what else ?

>From 
http://www.linuxfromscratch.org/lfs/vi
ew/development/chapter06/kernfs.html

you must issue the commads in sections 6.2.2 and 6.2.3

And you must use the chroot command found in  
http://www.linuxfromscratch.or
g/lfs/view/development/chapter06/strippingagain.html
changing $LFS by the mount point


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )