Solved

sudo rule

Posted on 2009-07-08
3
272 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 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now