Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sudo rule

Posted on 2009-07-08
3
Medium Priority
?
313 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
  • 2
3 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 2000 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 2000 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

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
OfficeMate Freezes on login or does not load after login credentials are input.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Screencast - Getting to Know the Pipeline

926 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