The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: sudoers
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 05-13-2008
tjmannonline tjmannonline is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 92
i just want id calls admin to start/stop apache.

i vi /etc/sudoers:

admin ALL= NOPASSWD: /usr/IBM/HTTPServer/bin/apachectl

i still could not stop/start apache by admin.

my command:

/usr/bin/sudo /usr/IBM/HTTPServer/bin/apachectl start

sorry, i have not a chance to install man sudoers yet.