diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index ab5b364d69c7..2df836ac5c19 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/adduser/adduser.8 @@ -212,7 +212,7 @@ This option makes .Ar login_group the default. .It Fl G Ar groups -Additional groups. +Space-separated list of additional groups. This option allows the user to specify additional groups to add users to. The user is a member of these groups in addition to their login group. .It Fl h diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index b7b97e099e4d..53c42de030a1 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/adduser/adduser.sh @@ -603,6 +603,7 @@ input_from_file() { get_homedir get_password get_expire_dates + ugroups="$defaultgroups" add_user ;;