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

Re: [K12OSN] 0-character length password

I ended up removing the password field entries from the /etc/shadow file
for the specific users.  Worked like a charm.

Larry Mateo
Network Technician II
Fairfield-Suisun Unified School District
larrym fsusd k12 ca us

>>> eharrison mail mesd k12 or us 12/09/02 07:14PM >>>
On Mon, 9 Dec 2002, Larry Mateo wrote:

>How does one allow a new user's default password to be zero
>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
by the fact that there is no password on the account.

After that the account will be accessible without a password.


K12OSN mailing list
K12OSN redhat com 
For more info see <http://www.k12os.org>

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