The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sudoers syntax chuckuykendall UNIX for Advanced & Expert Users 2 04-28-2009 03:28 AM
Sudoers problems. blane UNIX for Advanced & Expert Users 5 04-09-2008 05:18 PM
sudoers on HP 11.11 dhlopomo UNIX for Dummies Questions & Answers 2 01-18-2008 06:03 AM
Parsing Sudoers File jasondavey UNIX for Advanced & Expert Users 3 08-30-2007 08:00 PM
sudoers file whatisthis Linux 4 12-02-2004 05:59 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-13-2008
tjmannonline tjmannonline is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 91
sudoers

i just installed/configured apache2.0 on my own aix5.3 mini server. i can start/stop apache by root, but i want to start it under my login id(admin) instead.

i need to execute this command:

/usr/bin/sudo /usr/IBM/HTTPServer/bin/apachectl stop/start.
  #2 (permalink)  
Old 05-13-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
What is your question? Have you looked at man sudoers?
  #3 (permalink)  
Old 05-13-2008
tjmannonline tjmannonline is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 91
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.
  #4 (permalink)  
Old 05-13-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
You should use the visudo command to edit /etc/sudoers.
  #5 (permalink)  
Old 05-13-2008
frozentin frozentin is offline
Registered User
  
 

Join Date: May 2008
Location: Vienna, VA + Bombay, India
Posts: 109
Also, pay close attention to the permissions on the /etc/sudoers file. Read the man page.
  #6 (permalink)  
Old 06-13-2009
pianoman1976's Avatar
pianoman1976 pianoman1976 is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 3
Question Removing wheel group from sudoers?

Can I remove the wheel group from sudoers? Will this cause any problems?

Could someone please help me with the command?

I'm using OS X 10.5.7
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0