![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Protect Account UID = 0 | susie2345 | UNIX for Dummies Questions & Answers | 5 | 10-09-2007 06:41 PM |
| tar with password protect | pradeepmacha | Shell Programming and Scripting | 2 | 08-26-2005 08:19 AM |
| Create and pw protect .tar files | clovell | UNIX for Dummies Questions & Answers | 5 | 06-22-2005 11:24 AM |
| Protect a tar file with a password!! | geoquest | UNIX for Dummies Questions & Answers | 1 | 06-19-2002 09:02 AM |
| protect dtterm | inquirer | UNIX for Dummies Questions & Answers | 2 | 02-26-2002 03:28 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Protect from rm /
We recently had an accidental delete from /. I hold the root password but others are allowed to sudo over to root to perform admin tasks. The only way I want to permit deletion from / is by physically being root (su -).
I'd like to add a line to the sudoers file which would permit all commands except rm from the / directory. Could I use something like the following? OPS ALL = !/usr/bin/rm / *,!/usr/bin/rm /usr *,!/usr/bin/rm /opt * Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|