Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kill any user processes without being logged in as root.

Status
Not open for further replies.

jcs5234

IS-IT--Management
Feb 28, 2003
1
US
My company uses medical billing software that constantly causes orphaned processes. Upper management wants a standard user to have the ability to kill. I have written a menu driven vi shell. The problem is the user I have setup (added user to the system group) is only able to kill his/her own processes. Is it possible to give a user access to kill any processes without giving them root or command prompt access? Is it possible to use the su command in a vi shell script and have it login and logoff the user without them having the root password?
 
Yes install sudo, if you do a search on google, you should find it straight away. It enables you to run a specific command as root.

sudo kill -9 <PID>

--
| Mike Nixon
| Unix Admin
| ----------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top