|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Non-super user shell script running "super-user" command
Hello,
I'm writing a shell script and I'm running into a problem. In the script I need to run a command which only can be execute by a super user. Is there any way I can do with through shell scripts? I'm running Solaris by the way. #link /tmp/loopdir/ /tmp/loopdir/ link: Not owner Thanks, Ankur |
|
#2
|
||||
|
||||
|
It's possible to give a non-root user permission to execute root commands using sudo. Use the visudo command (as root) to edit the sudoers file.
http://en.wikipedia.org/wiki/Sudo |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Non-super user shell script running "super-user" command |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|