On Feb 5, 2008 9:55 AM, Alessandro Corbelli <[EMAIL PROTECTED]> wrote: > > Il giorno mar, 05/02/2008 alle 06.02 -0800, Dan Nicholson ha scritto: > > 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 :) > > Same results: > > # LC_ALL=C 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. > #
So, is the problem that it's not asking you to enter the password again if it's a weak password? That sounds like a bug. If so, can you see what happens if you try to change the password of a non-root user? # useradd foo # passwd foo (enter a weak password) # userdel foo That's not how passwd behaves for me, but I'm using PAM. It may be that the bug is only in the non-PAM codepath. I doubt this specific problem is locale related. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page