Originally posted by: apple08
Dear AIX Gurus,
I found this reference in IBM Wiki.
#visudo
ALL ALL=/dialup,/hangup
jim ALL=/dialup,/hangup
mike ALL=(root) ALL
ALL NOPASSWD: ALL=/dialup,/hangup mike ALL=(root) NOPASSWD: ALL
How to run: #sudo /dialup
Question:
I wanna set our user to run sync, reboot and restart? how can I change this sudo file? do i have to edit the sudoers file? I've installed the sudo, but when i tried to do this
$sudo sync
it just return me to the next dollar. does it execute the command? how can i know the status? really looking forward for your awaiting reply. Thanks in advance