sudo under a defined directory

Woo, April April.Woo at
Tue Oct 8 09:32:03 EDT 2002

I neglected to tell you that I have a wrapper script that calls up sudo.


april ;-)

-----Original Message-----
From: Matthew Hannigan [mailto:mlh at]
Sent: Monday, October 07, 2002 7:21 PM
To: Allan.Marillier at
Cc: April.Woo at; meiemoehl at; sudo-users at
Subject: Re: sudo under a defined directory

On Mon, Oct 07, 2002 at 12:02:34PM -0400, Allan.Marillier at wrote:
> This following for me, and if I remember correctly, is based on
> other people gave in this list for similar needs.
> Now watch somebody come and show me that what I'm doing is dangerous!

I can't really tell you want you want do exactly
or even how you're intending to do it, but I can
guarantee you're doing something dangerous or useless.

I don't think you're even using sudo :-(

> <testserv1>: chmod 777 /home/user1/.profile

If you were using sudo, your command line would be 

<testserv1>: sudo chmod 777 /home/user1/.profile


More information about the sudo-users mailing list