How Do I Add a User to the Root Group in Linux?
Contents Can I Add a User to Root Group? Your Files or Process Cannot Access by Other Group Members or Users on the Linux System. Secondary or Supplementary...
Contents
Can I add a user to root group?
Your files or process cannot access by other group members or users on the Linux system. Secondary or supplementary user group – Users can be a member of other groups on the Linux system.
…
Linux Add User To Group Using Command-Line.
| Tutorial details | |
|---|---|
| Root privileges | Yes |
| Requirements | usermod/useradd |
| Est. reading time | 5 minutes |
Must Read
How do I add an admin to a group in Linux?
For remote Ubuntu/Debian server use the ssh command and log in as the root user using either su or sudo. Create a new user named marlena, run: adduser marlena. Make marlena user ‘sudo user’ (admin) run: usermod -aG sudo marlena. Verify it by running the id marlena command.