Summary: SUDO question

From: Loukinas, Jeremy <>
Date: Thu Feb 05 2004 - 08:28:00 EST
Lots of good answers from everyone thanks. 

-----Original Message-----
From: Victor Belei [] 
Sent: Thursday, February 05, 2004 4:44 AM
To: 'Loukinas, Jeremy'
Subject: RE: SUDO question

It can be done.

The -u (user) option causes sudo to run the specified command as a user
other than root. To specify a uid instead of a username, use #uid. 

To edit the index.html file as user www:

 % sudo -u www vi ~www/htdocs/index.html

-----Original Message-----
From: Loukinas, Jeremy []
Sent: Tuesday, February 03, 2004 12:29 PM
To: ''
Subject: SUDO question

When using SUDO can you allow non-root users to run scripts/commands as
users other then root? 
I have an application ID that I want users to be able to issue commands as
but most docs refer to SUDO being used for root commands?
 Jeremy S. Loukinas        
sunmanagers mailing list
sunmanagers mailing list
Received on Thu Feb 5 08:27:48 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:27 EST