in reply to Re: Getting perl code to run sgid
in thread Getting perl code to run sgid

Considered it, but then I'd have to retrain the users to type sudo -u esper pm-print... instead of just pm-print.... So much uglier (and so much more trouble) than just setting a simple sgid bit.

Replies are listed 'Best First'.
Re: Re: Re: Getting perl code to run sgid
by derby (Abbot) on May 22, 2002 at 15:45 UTC
    pm-print just becomes

    `exec sudo -u esper pm-print.pl @ARGS`

    -derby