Unix/Linux Go Back    

Problem using sudo with NOPASSWD


Kindly Note - This is a Single User Post by Forum Member vbe Regarding:
Problem using sudo with NOPASSWD.
Please Follow The Primary Link Above to View the Full Discussion.

Old Unix and Linux 04-11-2016   -   Original Discussion by aigini82
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Join Date: Sep 2005
Last Activity: 22 February 2018, 2:53 PM EST
Location: Switzerland - GE
Posts: 6,521
Thanks: 301
Thanked 558 Times in 520 Posts
Wonder if ther is not something queer here...

etigers   ALL = NOPASSWD : /path/to/command/to/execute, /usr/bin/su - userX

Check the path to su as I have no more HP-UX under my hand to verify... You need to give absolute path to binaries in sudoers for sudo to work properly...