Hands-on task
This task is step 20 of the course “Users, groups and permissions”
Create a service user
Create a service user svc with the following properties: primary group svc (create it if it doesn't exist), supplementary groups appops and deployers, login shell /usr/sbin/nologin (interactive login is disabled), and no home directory created.
Reference:useradd and usermod
What you'll practise:
- useradd
- -g primary group
- -G supplementary
- -s shell
- service account