Guy's
I have sudo already installed in AIX , just I want to know how can I add for example the following commands to be executed by sudo by (appuser)..
shutdown
/usr/startapp.sh
/usr/stopapp.sh
Guy's
I have sudo already installed in AIX , just I want to know how can I add for example the following commands to be executed by sudo by (appuser)..
shutdown
/usr/startapp.sh
/usr/stopapp.sh
Add a line like the following to your sudoers file using visudo:
appuser ALL = (ALL) shutdown, /usr/startapp.sh, /usr/stopapp.sh
The syntax is always:
user host = (other) [option] command
where
See the sudoers man page for more details
Thanks for your replay I configured it by sudo
...
Another thing and before I do that , I'm planning to apply this command by sudo errclear 0
is it possible to make an errclear.sh then I'll type inside it errclear 0
is it good way to mentioned this file \root\errclear.sh in sudo to be executable or can I execute this direct command errclear 0....
And can you please give me the software of sudo !
In the sudoers file you can specify commands to and level of detail you want, eg. the entry
What do you mean by that? According to your first post, you've already got it installed.
Yes.. I want the software best version and if you have any direct link to download it please provide !
The official site (as far as I can see) is here. The Download page lists 3 different sites holding packages for AIX, including one at IBM itself.
Total search time, from loading Google to the Download page at IBM: 30 seconds.
Total time to write this post: 1 minute.