Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using NOPASSWD option for sudo user

Status
Not open for further replies.

Aigini

Programmer
Jun 28, 2007
1
0
0
MY
Hi,

I have added user 'etigers' as a sudo user in the visudo file. The user should be able to execute the commands stated without inserting a password. However, this is not the case, as the user is still prompted for a password when he executes both the commands. This is how the user privilege section looks for the user etiger :

Code:
## User privilege specification
##
#etigers ALL=NOPASSWD:ALL
#emokchee ALL=NOPASSWD: /usr/local/bin/lsof
etigers ALL=(ALL) NOPASSWD:/bscsbin/bscst4/lisa/product/UMOBILE/prod/bscs/bin/hpux11_ia64.x/dmh, /usr/local/bin/sudo su - bscst4
root ALL=(ALL) ALL
#%bscs ALL=(ALL) ALL
#emokchee ALL=NOPASSWD: /usr/local/bin/lsof
#etigers ALL=(ALL) NOPASSWD: /usr/local/bin/sudo su - bscst4, /bscsbin/bscst4/lisa/product/UMOBILE/prod/bscs/bin/hpux11_ia64.x/dmh

Pls help me resolve this issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top