- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: sudoer file help required...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 05:52 AM
11-08-2006 05:52 AM
sudoer file help required...
I need to make entry in sudoer file for couple of application users on RHEL3.0 and Redhat Linux 9.0 Server.
The user must have Read,Write and Execute permission on /var/www folder.
Also the user should be able to start and stop only apache server.
I'm a new bie in Linux and I would like to know what entry should I make in the sudeor file to provide the access..
Thanks in advance for all your Linux Experts onboard....
Girish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 07:00 AM
11-08-2006 07:00 AM
Re: sudoer file help required...
groupadd webdev
chgrp -R webdev /var/www
chmod -R g+w /var/www
usermod -G webdev username
These commands will allow the users in the webdev group to have RWX permissions for the /var/www folder.
The sudoers entry should be:
Host_Alias WEBSERV=host1, host2, host3
User_Alias WEBDEV=user1,user2,user3
Cmnd_Alias WEBCMD=/sbin/service httpd *
WEBDEV WEBSERV = WEBCMD
Use the same entry for all hosts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 07:36 AM
11-08-2006 07:36 AM
Re: sudoer file help required...
%groupname host = command
in this case
%webdev WEBSERV = WEBCMD
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 01:14 AM
11-09-2006 01:14 AM
Re: sudoer file help required...
Appreciate your responses...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 01:21 AM
11-09-2006 01:21 AM
Re: sudoer file help required...
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
And take a time to review the answers for your questions without assigned points:
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1411434&listType=unassigned&forumId=1
Cheers!