Re: Debian packages relying on TMPDIR
On Tue, May 22, 2001 at 09:29:58AM +1000, Brian May wrote:
> >>>>> "Brian" == Brian May <bam@debian.org> writes:
>
> Brian> 3. Or perhaps /etc/somedir/somefile could contain a small
> Brian> shell script which sets the default policy for all
> Brian> environment variables for all daemons?
>
> I should have thought more before I typed this in. PAM might be able to
> do this, if you put a line like:
>
> auth required pam_env.so
>
> into /etc/pam.d/su, and then configure it. Not tested though.
Hmm I'm not sure how this would work. The problem isn't
the init.d script calling su, the problem is the init.d
script executes the daemon and the daemon drops privilege
using the setuid() library call. This, unless I'm totally
off has nothing to do with PAM.
Regards,
Shane
--
Shane Wegner: shane@cm.nu
http://www.cm.nu/~shane/
PGP: 1024D/FFE3035D
A0ED DAC4 77EC D674 5487
5B5C 4F89 9A4E FFE3 035D
Reply to: