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

Re: How do I allow empty passwords?



Eric Hanchrow said:
> Anyway: how do I do it?

I can set root's password to an empty string using passwd on my system,
but...

Having an empty password still results in being prompted for a password and
needing to hit enter.  If you want to have _no_ password, you can go into
/etc/passwd (or /etc/shadow) and delete the second field.  Now it won't even
ask for a password, it'll just let you (or anyone else) right in.

-- 
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P+>+++ L++>++++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI++++ D G e* h+ r++ y+



Reply to: