Created
April 16, 2023 01:01
-
-
Save suhailroushan13/2caa51600c4e910ead44ed3139516b2e to your computer and use it in GitHub Desktop.
Digital Ocean User Add
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo adduser suhail | |
| sudo chown suhail:suhail /home/suhail | |
| su root | |
| nano /etc/sudoers | |
| Then add the user below admin user like below syntax. | |
| suhail ALL=(ALL) ALL | |
| usermod -a -G sudo suhail | |
| su suhail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment