How Do I Set User Privileges in Linux?
Contents How Do I Grant Administrator Privileges in Linux? Open the Terminal Application. for Remote Ubuntu/Debian Server Use the Ssh Command and Log in as the...
Contents
How do I grant administrator privileges in Linux?
Open the terminal application. 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.
Must Read
How do I change user roles in Linux?
How to Change a User’s Group in Linux
- Use the command usermod.
- Replace the examplegroup with the name of the group you want to be the primary.
- Replace the exampleusername with the name of the user account.