|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
security problem with "sudo" for shutdown?
I am a UNIX user but not an admin. I am asking our admins to create a "sudo" command to allow shutting down our AIX workstations gracefully (without just pulling the plug).
Is there a way to prevent the user from executing "shutdown" on another workstation or server on the network? |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
If they grant permissions to you only when you are trying to run a shutdown script, things are safe. They write the shutdown script, it checks what it is shutting down before it takes action.
They protect the script from change. sudo has fairly fine-grained controls on it. An admin could grant run only to certain users on the script. Mid-level management in one department for example. Is this what you are asking? |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
Yes it could be by granting locally the use of shutdown command, I am sure it could also be done in smit/smitty... (using RBAC...)
|
| Sponsored Links | ||
|
![]() |
| Tags |
| security risk, shutdown, sudo |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk command to replace ";" with "|" and ""|" at diferent places in line of file | shis100 | Shell Programming and Scripting | 7 | 03-16-2011 08:59 AM |
| Unable to use the Sudo command. "0509-130 Symbol resolution failed for sudo because:" | Chloe123 | UNIX for Dummies Questions & Answers | 1 | 12-21-2009 04:09 PM |
| Difference between "shutdown" and "shutdown -h" ? | vilius | AIX | 1 | 12-10-2008 02:53 AM |
| A question/problem about oracle "tns listener" and "enterprise manager" | talipk | UNIX for Advanced & Expert Users | 1 | 12-03-2008 06:55 AM |
| A question/problem about oracle "tns listener" and "enterprise manager" | talipk | UNIX and Linux Applications | 0 | 12-01-2008 02:08 PM |
|
|