News

To use "sudo," you will have to be in the "sudoers" permission group, but the good news is that many Linux distros already put the main user in this group.
$ grep sudo /etc/group sudo:x:27:shs,jdoe,peanut Assuming the standard /etc/sudoers setup, they should immediately be able to start using sudo commands once this change has been made.
This will prompt you to type and verify a new password. Once you’ve set that, you can then expire the password with the command: sudo passwd --expire USER Where USER is the new username we created.
The sudo command allows privileged users to run all or selected commands as root, but understanding how it works and doesn't work is a big help.
Linux groups allow better control access to files and folders. Here are the five commands you'll want to keep in your back pocket.