Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make creating user directory explicit

  • Loading branch information...
commit cf311e12df2e951e90a5cc1564f7d5ce7b08612d 1 parent d4118ce
@longnguyen11288 longnguyen11288 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/internal/shell/user/functions
View
2  core/internal/shell/user/functions
@@ -172,7 +172,7 @@ __sm.user.add()
groupadd -f "$_group"
fi
- useradd -s /bin/bash -d "${_home:-"/home/${_user}"}" -g "${_group}" "${_user}"
+ useradd -m -s /bin/bash -d "${_home:-"/home/${_user}"}" -g "${_group}" "${_user}"
;;
"Darwin")
Please sign in to comment.
Something went wrong with that request. Please try again.