sudo under a defined directory
April.Woo at spirentcom.com
Tue Oct 8 09:32:03 EDT 2002
I neglected to tell you that I have a wrapper script that calls up sudo.
From: Matthew Hannigan [mailto:mlh at zip.com.au]
Sent: Monday, October 07, 2002 7:21 PM
To: Allan.Marillier at dana.com
Cc: April.Woo at spirentcom.com; meiemoehl at a1.net; sudo-users at sudo.ws
Subject: Re: sudo under a defined directory
On Mon, Oct 07, 2002 at 12:02:34PM -0400, Allan.Marillier at dana.com 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