If the user has sudo privileges, you'll be prompted for the user's password, followed by a full listing of the root directory after issuing the commands referenced above. Open up terminal and enter: sudo adduser lubos Next, we we need to add the new user to an existing sudo group: sudo usermod -aG sudo lubos All done. Letâs start by creating a new user called lubos. If you want to configure sudo for an existing user, skip to step 3. You can also test to ensure that the user account now has sudo privileges by switching to the user and issuing a command using sudo before the command: su - username_here Visit How to Add user on Ubuntu 18.04 for more information on how to create new users. Follow the steps below to create a new user account and give it sudo access.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |