summaryrefslogtreecommitdiffstats
path: root/adduser
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2002-01-02 19:01:53 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2002-01-02 19:01:53 +0000
commit39d5bea266b45eaf9839280376d4660385c9efea (patch)
tree7075ed122574818500993b1aa9b8cd6043856909 /adduser
parent3644e633c3028ae983a4e4ddc6e6e867ab92f2d3 (diff)
downloadpw-darwin-39d5bea266b45eaf9839280376d4660385c9efea.tar.gz
pw-darwin-39d5bea266b45eaf9839280376d4660385c9efea.tar.zst
pw-darwin-39d5bea266b45eaf9839280376d4660385c9efea.zip
Document a new option: -force.
Diffstat (limited to 'adduser')
-rw-r--r--adduser/adduser.88
1 files changed, 8 insertions, 0 deletions
diff --git a/adduser/adduser.8 b/adduser/adduser.8
index db09a91..73ab660 100644
--- a/adduser/adduser.8
+++ b/adduser/adduser.8
@@ -37,6 +37,7 @@
.Op Fl class Ar login_class
.Op Fl config_create
.Op Fl dotdir Ar dotdir
+.Op Fl f | force
.Op Fl group Ar login_group
.Op Fl h | help
.Op Fl home Ar home
@@ -60,6 +61,9 @@ directory, dotfiles and sends the new user a welcome message.
.It Sy username
Login name.
May contain only lowercase characters or digits.
+(See also the
+.Fl force
+option.)
Maximum length
is 16 characters (see
.Xr setlogin 2
@@ -154,6 +158,10 @@ to read/execute/write
.Pa prv ,
.Pa iscreen ,
.Pa term .
+.It Fl force , f
+Add a user even if the username contains illegal characters.
+Only semicolon or newline characters will be disallowed in
+usernames to avoid breaking the password file format.
.It Fl group Ar login_group
Login group.
.Ar USER