11/11/2023 0 Comments Debian add user to sudoers![]() Groups are only assigned to users at login time. To add an existing user with id= foo to group= sudo:Īlternatively, you can first get root (e.g., sudo su -) and then run the same commands without prefix= sudo:Īfter being added to a new group the user must log out and then log back in again for the new group to take effect. Similarly, the more complex and variable output from command= id should look something like If sudo is not present in the output, the user does not belong to that group. ![]() E.g., a user with id= foo should see output from Once logged in as a user, you can verify whether or not the user belongs to group= sudo using either the id or groups commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |