Ubuntu server - create group, create user, user specific access

Solution 1:

Creating a group

sudo addgroup groupname

Creating a user into this group

sudo adduser username groupname

Permissions Restriction

See this thread for permissions.

Solution 2:

**Creating a group **

we can add the group as below, and also you need to add the group id also.

eg - group name - fpsalph,group id - 10000

groupadd -g 10000 fpsalpha

after that, you can check it by this command.

tail /etc/group