sudo under a defined directory
Matthew Hannigan
mlh at zip.com.au
Mon Oct 7 19:20:56 EDT 2002
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 suggestions
> 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.
April,
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
Regards,
Matt
More information about the sudo-users
mailing list