LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-20-2019, 12:39 AM   #1
vbmade2000
LQ Newbie
 
Registered: May 2019
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 05-20-2019, 03:09 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by vbmade2000 View Post
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....
 
Old 05-20-2019, 04:18 PM   #3
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
I assume the line is in your sudoers file. If so it means that testuser can run those files using sudo without a password.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does e2fsck indicate which blocks are bad on your hard drive??? CANTOR Linux - Software 8 06-19-2005 03:05 AM
What does this indicate ? rvijay Linux - Hardware 2 02-27-2005 09:29 AM
What does this Mount Error Indicate ? rvijay Linux - Newbie 15 10-10-2003 06:44 PM
What does this indicate ? rvijay Linux - Newbie 13 09-22-2003 07:17 AM
What does this indicate ? rvijay Linux - Newbie 2 09-05-2003 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration