Summary: SUDO question

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

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

It can be done.
 
-u

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 [mailto:Jeremy.Loukinas@evenflo.com]
Sent: Tuesday, February 03, 2004 12:29 PM
To: 'sunmanagers@sunmanagers.org'
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@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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