diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2001-05-02 13:20:12 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2001-05-02 13:20:12 +0000 |
commit | ac46304ba73e5c8781f933fc724dd415939acb4b (patch) | |
tree | c5b4ff7f3db1eab2af7832218ed36b098979c121 /pw | |
parent | 90c39a68308b728f96d32c8ac8e83b23e3719f4d (diff) | |
download | pw-darwin-ac46304ba73e5c8781f933fc724dd415939acb4b.tar.gz pw-darwin-ac46304ba73e5c8781f933fc724dd415939acb4b.tar.zst pw-darwin-ac46304ba73e5c8781f933fc724dd415939acb4b.zip |
Extend adduser to create "locked" accounts. Adduser can now lock an
account at creation, create accounts with a "*" password (so you can
use alternate authentication schemes without fearing a "default" password
biting you later), and blank passwords.
Yes, adduser could create a blank password account, but this makes it
slightly more difficult to shoot yourself in the foot.
The /etc/adduser.conf entries are:
# use password-based authentication for new users
# defaultusepassword = "yes" | "no"
defaultusepassword = "yes"
# enable account password at creation
# (the password will be prepended with a star if the account isn't enabled)
# defaultenableaccount = "yes" | "no"
defaultenableaccount = "yes"
# allow blank passwords
# defaultemptypassword = "yes" | "no"
defaultemptypassword = "no"
Requested by: alfred
Reviewed by: alfred
Diffstat (limited to 'pw')
0 files changed, 0 insertions, 0 deletions