On Tue, 2003-01-28 at 13:43, Robert Heller wrote:
> IF> suid-bit? -> http://www.linuxgeek.net/index.pl/suid
> Better: chown/chmod of /dev/lp?
> The suid-bit is seriously *dangerious*. All it takes is a silly
> buffer-overrun bug and a seriously clever cracker and your system is
He's not using /dev/lp, he's using direct IO to the hardware port. You
have to be root for that.
You could do this as a user using libieee1284, though, which was
mentioned in a previous post. It is much safer and would solve the
problems you just pointed out. It would also make the program portable
to other operating systems, promote world peace, etc.
-- Simon Krix <firstname.lastname@example.org> Dynjab Technologies R&D
-- To unsubscribe, send mail to: email@example.com -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Mon Jan 27 2003 - 22:22:31 EST