Hi I am trying to set up a webserver from scratch on a virtual server at work, but something odd is happening while trying to add a user, if I use:
Code:
useradd --system --gid webapps --shell /bin/bash --home /webapps/django_user pcc_update
it adds the user, but is using another account's home. If I use?
Code:
adduser --system --gid webapps --shell /bin/bash --home /webapps/django_user pcc_update
I get the following error:
Code:
Value "webapps" invalid for option gid (number expected)
Digging further, webapps is a group that I set up and shows up as:
I'm a little out of my depth here, if it helps, this is the article I am following,
http://michal.karzynski.pl/blog/2013...nv-supervisor/
I could just set up this site on root, but I am trying to learn good practice and would like to understand where I am going wrong.