[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] 0-character length password



On Mon, 9 Dec 2002, Larry Mateo wrote:

>How does one allow a new user's default password to be zero characters
>in length?  

Just out of curiosity, why do you want a null password? That makes it
a public account, which is generally considered to be a problem.

The system tries to make it really hard to do this. You can run 
"password <username>" as root and just hit the enter key twice. This
will create a "locked" account. You can then unlock it:

	passwd -u -f <username>

The "-u" means to unlock the account, the "-f" is a FORCE flag required
by the fact that there is no password on the account.

After that the account will be accessible without a password.

-Eric





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]