14383 shaares
5331 private links
5331 private links
Enter "visudo" and add the line:
username hostname=/usr/bin/mksysb
:wq to write and quit visudo
Now the user would enter the command "sudo mksysb" and it will prompt for the users password and log what has happened in the syslog.