Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

sudo rule

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
Legatie
Asked:
Legatie
  • 2
2 Solutions
 
omarfaridCommented:
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
 
LegatieAuthor Commented:
permission to delete means...the users can run commands such as rm filename. sorry for the poor wording.
0
 
omarfaridCommented:
you can let them run rm with root priv. you may look at the examples part in the provided link
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now