Viewing what privileges you have and where and what you can run sudo with is a great way to identify how locked down your user might be. To view your sudo privileges use the following command:
· sudo -l
The output may look like the following:
User NGS may run the following commands on DESKTOP-60HQCCK:
(ALL : ALL) ALL
To break that down the user "NGS" has the ability to use all root privileges. The sudo options can be locked down to enable users to only run specific commands with root privileges