Technology, Web & Business Forum



Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Server Management Issues related to web servers and website administration (IIS, Apache, etc.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2008
Junior Member
 
Join Date: May 2008
Posts: 1
Default Linux/Apache?

What is the sudoers list and why is it used?


and if anyone has the time can you IM me i have some more questions...please..thanks in advance
__________________
Powered by Yahoo! Answers
Reply With Quote
  #2 (permalink)  
Old 05-07-2008
Junior Member
 
Join Date: May 2008
Posts: 1
Default

First do a "man sudoers". That will tell you about the sudoers file. In essence, the less you do as root, the less chance malware has to use the account to do nasty things with it. That is why Ubuntu disabled the root account and usually forces you to access root privileges through the program sudo (though you can get a root prompt by typing "sudo su"). Obviously not everyone can or should have root privileges, unless everyone for a given computer is one or two users. /etc/sudoers lists the people who have permission to run root commands. Thus in my sudoers file the relevent section looks like this:

# User privilege specification
<user> ALL=(ALL) ALL
root ALL=(ALL) ALL

Replace <user> with the obvious user name. And the three ALLs tells the system what privileges I get. Sudo actually doesn't have much to do with Apache, per se, except you need root privileges to do most things with Apache.
__________________
Powered by Yahoo! Answers
Reply With Quote
  #3 (permalink)  
Old 05-07-2008
Junior Member
 
Join Date: May 2008
Posts: 1
Default

please visit www.linuxquestions.org
you will find the answer there
__________________
Powered by Yahoo! Answers
Reply With Quote
  #4 (permalink)  
Old 05-27-2009
Junior Member
 
Join Date: May 2009
Posts: 21
Default

Obviously not everyone can or should have root privileges, unless everyone for a given computer is one or two users. /etc/sudoers lists the people who have permission to run root commands.
_________________
Maple Engineered Flooring
Church Chairs
Reply With Quote
  #5 (permalink)  
Old 11-10-2009
Junior Member
 
Join Date: Nov 2009
Posts: 5
Default

you have to upload the file (cpanel can do that)
you have to put it in a directory that permits cgi or pl (not all directories do!)
you have to chmod the security on the file to permit it to run ( I think cpanel can do this too)

... then it can be run from apache!
Reply With Quote
  #6 (permalink)  
Old 06-22-2010
Junior Member
 
Join Date: May 2010
Posts: 3
Default

unless everyone for a given computer is one or two users. /etc/sudoers lists the people who have permission to run root commands.....
carpet cleaning
house cleaning
cleaning company.

Last edited by iqbal; 08-13-2010 at 04:59 AM..
Reply With Quote
Reply

Thread Tools
Display Modes

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 -5. The time now is 09:51 AM.