System command on FreeBSD...

Bill Campbell bill at celestial.com
Wed Dec 29 13:34:46 PST 2004


On Wed, Dec 29, 2004, Chad McWilliams wrote:
>> -----Original Message-----
>> From: 
>> filepro-list-bounces+fpmail=computiprint.com at lists.celestial.c
>> om 
>> [mailto:filepro-list-bounces+fpmail=computiprint.com at lists.cel
>> estial.com] On Behalf Of Bill Vermillion
>> Sent: Wednesday, December 29, 2004 12:54 PM
>> To: filePro List
>> Subject: Re: System command on FreeBSD...
>
...
>> But I think parsing the output of 'who am i' will do what you 
>> need it to do.
>> 
>
>This was also the idea I came up with as a fallback.  The only problem
>is a lot of programs will have to be changed, so I wanted to make sure
>there wasn't another way.

One thing you can do with ``sudo'' is to create a shell script which is
allowed in the ``sudoers'' file, then pass arguments to that script that
execute whatever programs you really want to run.  This can make the job
easier than having to add multiple commands to the ``sudoers'', adding only
those that are appropriate for a particular class of users.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Find out just what people will submit to, and you have found out the
exact amount of injustice and wrong which will be imposed upon them; and
these will continue until they are resisted with either words or blows, or
both. The limits of tyrants are prescribed by the endurance of those whom
they oppress.'' -- Frederick Douglass.


More information about the Filepro-list mailing list