Skip to content

Commit

Permalink
fix gcos, since the login screen uses the full name
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Oct 29, 2017
1 parent b42b18a commit e543eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/simple/scripts/CENTOS/80-misc
Expand Up @@ -4,7 +4,7 @@ error=0 ; trap "error=$((error|1))" ERR

# add a $username user account
if ! $ROOTCMD getent passwd $username ; then
$ROOTCMD adduser -c "first user" $username
$ROOTCMD adduser -c "$username user" $username
$ROOTCMD usermod -p "$USERPW" $username
fi

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/scripts/DEMO/10-misc
Expand Up @@ -16,7 +16,7 @@ fi

# add additional user account
if ! $ROOTCMD getent passwd $username ; then
$ROOTCMD adduser --disabled-login --gecos "first user" $username
$ROOTCMD adduser --disabled-login --gecos "$username user" $username
$ROOTCMD usermod -p "$USERPW" $username
for g in $groups; do
$ROOTCMD adduser $username $g
Expand Down

0 comments on commit e543eb4

Please sign in to comment.