diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-03-19 08:07:15 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-03-19 08:07:15 +0000 |
| commit | 187a97aab9287a2abe588ac180e79cfe580c4823 (patch) | |
| tree | 7667ee39551fa093562126dacd9dfd1f7f31bac5 /usr.sbin | |
| parent | 58089a20d1d8ec0ff76784c5dee42bf8ac5dd3ca (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/adduser/adduser.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index 3b843c6397ceb..79e3752b52db4 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/adduser/adduser.sh @@ -558,6 +558,8 @@ input_interactive() { _random="no" _emptypass="no" _usepass="yes" + _logingroup_ok="no" + _groups_ok="no" case $passwdtype in none) _emptypass="yes" @@ -629,7 +631,7 @@ input_interactive() { ;; esac passwdtype="yes" - [ -n "$configrun" ] && break + [ -n "$configflag" ] && break trap 'stty echo; exit' 0 1 2 3 15 stty -echo echo -n "Enter password: " @@ -904,7 +906,11 @@ if [ -n "$fflag" ]; then else input_interactive while : ; do - echo -n "Add another user? (yes/no): " + if [ -z "$configflag" ]; then + echo -n "Add another user? (yes/no): " + else + echo -n "Re-edit the default configuration? (yes/no): " + fi read _input case $_input in [Yy][Ee][Ss]|[Yy][Ee]|[Yy]) |
