Role not executing command
I am studying RBAC. So I create a role called sysadm and gave it the "shutdown" profile.
Now when I switch to that role, and execute the shutdown command
$ shutdown -y -g0 -i5
The system responds with :
shutdown: not found
Can anyone help me with this please?
|Thread Tools||Search this Thread|
|More UNIX and Linux Forum Topics You Might Find Helpful|
|Thread||Thread Starter||Forum||Replies||Last Post|
|executing a command using ssh||anilreddy103||UNIX for Dummies Questions & Answers||5||11-28-2011 07:56 AM|
|Command executing to be in the background !||Mr.AIX||AIX||3||12-21-2010 09:33 AM|
|executing command from subdirectories||NoobProgrammer||Shell Programming and Scripting||3||10-03-2009 03:57 PM|
|Executing a command at startup||NathanWarden||Shell Programming and Scripting||2||12-10-2008 10:52 PM|
|executing the su command from a script.||shailendrat||Shell Programming and Scripting||6||04-11-2005 02:44 AM|