Solved

sudo rule

Posted on 2009-07-08
3
294 Views
Last Modified: 2012-05-07
I have two groups and I would like to setup a sudo rule with the below conditions.
Any user in the test group needs permission to delete any file created by anyone in the temp group.  This group(test) will also need permission to kill or put to sleep any process ran by anyone in the temp group.
Thanks in advance.
0
Comment
Question by:Legatie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 500 total points
ID: 24805299
what do you mean by need permission? No one can override permissions other than root (or with help of sudo which can give root priv to other users).

http://www.gratisoft.us/sudo/man/sudoers.html
0
 

Author Comment

by:Legatie
ID: 24806169
permission to delete means...the users can run commands such as rm filename. sorry for the poor wording.
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 24806207
you can let them run rm with root priv. you may look at the examples part in the provided link
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
OfficeMate Freezes on login or does not load after login credentials are input.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question