Back

useradd

Always create the group before the user

groupadd -g 1234 staff

Then create the user

useradd -d /home/john -g staff -u 1000 john
  • linux/useradd.txt
  • Last modified: 2018/05/25 13:05
  • (external edit)