sudo addgroup
4 Answer(s)
Tuhino
1 Thanks, that worked in the sense that it did not give any error. how do I check the created group?
2. but now I cannot add user in that group as stated in the document (module2 - assignment 1; so I tried useradd instead of adduser
sudo useradd -g dezyre_group -u dezyre_user.
If said invalid user, is there any way to check the valid users
Jul 22 2014 01:21 AM
2. but now I cannot add user in that group as stated in the document (module2 - assignment 1; so I tried useradd instead of adduser
sudo useradd -g dezyre_group -u dezyre_user.
If said invalid user, is there any way to check the valid users
DeZyre
Hi Tuhino
In the newer version of Ubuntu - please use this command to add user to the group
CREATE GROUP
sudo groupadd dezyre_group
ADD USER
sudo useradd -G dezyre_group tom
LIST USERS
getent group dezyre_group
Hope this helps
Thanks
Jul 22 2014 11:39 PM
In the newer version of Ubuntu - please use this command to add user to the group
CREATE GROUP
sudo groupadd dezyre_group
ADD USER
sudo useradd -G dezyre_group tom
LIST USERS
getent group dezyre_group
Hope this helps
Thanks
Sharon
Hello Dezyre,
Could you update the document with the variation for future use.
Thanks,
Sharon
Jul 26 2014 08:41 AM
Could you update the document with the variation for future use.
Thanks,
Sharon