sudo usermod -a -G sudo ubuntu_userīy default, all users belonging to the “ sudo” group are allowed to execute commands with root privileges via sudo utility. To grant this new user account with administrative privileges you should add the user to “ sudo” system group by issuing the below command. In order to create a new account on the system, log in to the system with the account user with root privileges and create a new account with the below command.įor now, the new added user cannot perform administrative tasks via sudo utility. sudo adduser ubuntu_userīy default, as a security measure, the root account is completely disabled in Ubuntu. Follow the adduser prompt to setup the user details and password. Make sure you setup a strong password to protect this account. This new account will be granted with root powers privileges via sudo command and will be used to perform administrative tasks in the system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |