diff options
author | 2004-06-06 17:55:55 +0000 | |
---|---|---|
committer | 2004-06-06 17:55:55 +0000 | |
commit | c1e817eecd6a5f194dbff12fb6a0a1172c5a8087 (patch) | |
tree | 129055fba714e12ed948901217b0be74045ab3ce /adduser/adduser.8 | |
parent | 1a61af78182bdcbc02ffc6848053f5f9298d47a4 (diff) | |
download | pw-darwin-c1e817eecd6a5f194dbff12fb6a0a1172c5a8087.tar.gz pw-darwin-c1e817eecd6a5f194dbff12fb6a0a1172c5a8087.tar.zst pw-darwin-c1e817eecd6a5f194dbff12fb6a0a1172c5a8087.zip |
Accept full path names in addition to base names for shells.
Make explicit in the documentation that valid shells need to be
supplied only if the -S option is not given.
Diffstat (limited to 'adduser/adduser.8')
-rw-r--r-- | adduser/adduser.8 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/adduser/adduser.8 b/adduser/adduser.8 index 2f883f6..a87e6af 100644 --- a/adduser/adduser.8 +++ b/adduser/adduser.8 @@ -98,11 +98,13 @@ The .Ql \&: character is not allowed. .It shell -Only valid shells from the shell database +Unless the +.Fl S +argument is supplied only valid shells from the shell database .Pq Pa /etc/shells are allowed. -In -addition, only the base name of the shell is necessary, not the full path. +In addition, +either the base name or the full path of the shell may be supplied. .It UID Automatically generated or your choice. It must be less than 32000. @@ -245,10 +247,10 @@ standard output. Default shell for new users. The .Ar shell -argument must be the base name of the shell, -.Em not -the full path. -It must exist in +argument may be the base name of the shell or the full path. +Unless the +.Fl S +argument is supplied the shell must exist in .Pa /etc/shells or be the special shell .Em nologin @@ -372,7 +374,8 @@ is understood to mean that no home directory is to be created for the user. .It Ar shell Login shell. -This field should contain the full path to a valid login shell. +This field should contain either the base name or +the full path to a valid login shell. .It Ar password User password. This field should contain a plaintext string, which will |