LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   What does line "testuser ALL = NOPASSWD: /usr/sbin/smartctl" indicate ? (https://www.linuxquestions.org/questions/linux-security-4/what-does-line-testuser-all-%3D-nopasswd-usr-sbin-smartctl-indicate-4175654227/)

vbmade2000 05-20-2019 12:39 AM

What does line "testuser ALL = NOPASSWD: /usr/sbin/smartctl" indicate ?
 
What does this line indicate ?

testuser ALL = NOPASSWD: /usr/sbin/smartctl, /usr/sbin/mdadm, /usr/bin/mount

As per my knowledge this tells linux to allow testuser user to use mentioned utilities without asking for password.

I want to confirm my understanding.

scasey 05-20-2019 03:09 PM

Quote:

Originally Posted by vbmade2000 (Post 5997052)
What does this line indicate ?

testuser ALL = NOPASSWD: /usr/sbin/smartctl, /usr/sbin/mdadm, /usr/bin/mount

As per my knowledge this tells linux to allow testuser user to use mentioned utilities without asking for password.

I want to confirm my understanding.

You should probably tell us where this line is found....

petelq 05-20-2019 04:18 PM

I assume the line is in your sudoers file. If so it means that testuser can run those files using sudo without a password.


All times are GMT -5. The time now is 04:34 PM.