Date: Tue, 17 Aug 1999 18:37:46 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Garance A Drosihn <drosih@rpi.edu> Cc: hackers@FreeBSD.ORG Subject: Re: lpd security check for changed-file vs NFS Message-ID: <199908180137.SAA41356@apollo.backplane.com> References: <v04210104b3dfb68c6d1d@[128.113.24.47]>
index | next in thread | previous in thread | raw e-mail
:lpr has the '-s' option that tells it to create a symlink to
:the file you want to print, instead of copying the file into
:...
:has not changed, if the standard st_dev+st_ino check is not
:going to work? Seems to me I should be checking something,
:instead of just ignoring the issue for NFS mounts (*all*
:NFS mounts, because I can't tell if the NFS server is AIX).
:
:Maybe do some sort of MD5 checksum of the first thousand
:bytes of the file? Any other suggestions?
:
:---
:Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu
If you removed the stat test, I would simply get rid of the -s
option entirely - require that all files be queued to the print
spool.
-Matt
Matthew Dillon
<dillon@backplane.com>
:Senior Systems Programmer or drosih@rpi.edu
:Rensselaer Polytechnic Institute
:
:
:To Unsubscribe: send mail to majordomo@FreeBSD.org
:with "unsubscribe freebsd-hackers" in the body of the message
:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908180137.SAA41356>
