Re: print permissions
On Wed, Jun 17, 1998 at 05:12:20PM +0200, E.L. Meijer Eric" wrote:
> What about this:
>
> -rwsr-sr-x 1 root lp 14236 Jul 30 1997 /usr/bin/lpr
> -rwxr-xr-x 1 root lp 14236 Jul 30 1997 /usr/bin/lpr.orig
> (fake listing, just for demo purposes)
>
> Now lpr is the wrapper program (not script) and the real lpr, lpr.orig
> does not have the right permissions to run. I think this is how sudo
> works.
I guess that should work. Glynn has suggested a much nicer method
anyway.
Hamish
--
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: