2008/2/5 Alessandro Corbelli <[EMAIL PROTECTED]>: > Hi all, I'm new to LFS and I've got a problem. > After building correctly with JHALFS, I've tryied to change root > password inside chroot but passwd doesn't work. > > If i run: > > "passwd root", command exit imediatly with: " > Cambio della password di root > Inserire la nuova password (minimo 5 caratteri, massimo 127) > Utilizzare una combinazione di lettere maiuscole, minuscole e numeri. > Password non valida: troppo corta. > Attenzione: password troppo debole (inserirla di nuovo per usarla > comunque). > Password cambiata. > " > > no password asked. > > Man page also not working, exit code 256.
It sounds like something bad has happened. Can you run the command again as "LC_ALL=C passwd root"? I can't translate the Italian :) Are other commands working OK? Can you try another shadow command like groupadd: `groupadd -g 222 foo'? I'm curious if problem is in libshadow or if passwd is just misconfigured. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page