[Gllug] sudo query
Vincent AE Scott
gllug at codex.net
Tue Feb 5 15:17:28 UTC 2002
i have a program that i want to use with sudo, the command can only be
run by a defined user in /etc/sudoers. this works up till a point. The
program thats started attempts to create a file in the real users $HOME.
This fails, as sudo does setuid(), and so the program no longer his
permission to write there.
So the question is, how do i get sudo to use the home directory of the
users its supposed to be running as? I've tried running sudo -H, but
thats makes no difference. any ideas y'all?
--
PGP key: http://codex.net/pgp/pgp.asc
The problem with a system that needs competent managers
is that it needs competent managers.
--Graydon Saunders
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list