You can configure other users to also be able to run the sudo command. In a VPS environment that is the default root user. Normally the first user you create while installing Ubuntu has sudo rights. Through the sudo command you provide administrative level privileges to regular users. The sudo command is configured through a file located in /etc/ called sudoers. If the user doesn’t use the sudo prefix, they will receive a Permission denied output. Meanwhile, if a non-root user wants to add another user, they would need to add the sudo prefix to the useradd command, like this: sudo useradd edward They already have all the possible privileges. If you’re having trouble, check out the PuTTY tutorial.īy default, the root user does not need to use the sudo prefix. To show how sudo works, first access your VPS through SSH. Use the Sudoers File to Grant Specific Privileges.
0 Comments
Leave a Reply. |