Skip to content
Snippets Groups Projects
Commit ed73a589 authored by bta's avatar bta
Browse files

install-labmanager: useradd: use /bin/bash as shell.

parent cf4e55cd
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ myuseradd() {
R_GID="-g $3"
groupadd ${R_GID} -r ${R_USER}
fi
useradd -b /local -m ${R_UID} ${R_GID} -r ${R_USER}
useradd -s /bin/bash -b /local -m ${R_UID} ${R_GID} -r ${R_USER}
if [ $? -ne 0 ]; then
echo "Error creating user ${R_USER}"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment