Merge pull request #96 from Bojan023/patch-1

Add cli command to check current sudoers on debian
This commit is contained in:
IMTheNachoMan
2023-03-23 22:27:07 -04:00
committed by GitHub

View File

@@ -792,7 +792,11 @@ sudo lets accounts run commands as other accounts, including **root**. We want t
#### Notes #### Notes
- Your installation may have already done this, or may already have a special group intended for this purpose so check first. - Your installation may have already done this, or may already have a special group intended for this purpose so check first.
- Debian creates the sudo group - Debian creates the sudo group. To view users that are part of this group (thus have sudo privileges):
```
cat /etc/group | grep "sudo"
```
- RedHat creates the wheel group - RedHat creates the wheel group
- See [https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/39](https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/39) for a note on some distributions making it so `sudo` does not require a password. Thanks to [sbrl](https://github.com/sbrl) for sharing. - See [https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/39](https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/39) for a note on some distributions making it so `sudo` does not require a password. Thanks to [sbrl](https://github.com/sbrl) for sharing.