]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new command to 'lpc' called 'setstatus', which would be used to
authorGarance A Drosehn <gad@FreeBSD.org>
Sat, 15 Jun 2002 22:51:58 +0000 (22:51 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Sat, 15 Jun 2002 22:51:58 +0000 (22:51 +0000)
commit54032d1198c27cf2b532645c68f1adb1a19b3145
tree44f771aaa14debc6dffa2c3c508f7bf1c7c5f7a5
parent4ce86ffd1719736b5939f1bc6630251440b398af
Add a new command to 'lpc' called 'setstatus', which would be used to
change the status message of a print queue.  This includes some minor
changes to the upstat() routine, so that error messages are not printed
while seteuid(priv-user).

Reviewed by: freebsd-audit and freebsd-print@bostonradio.org
MFC after: 10 days
usr.sbin/lpr/lpc/cmds.c
usr.sbin/lpr/lpc/cmdtab.c
usr.sbin/lpr/lpc/extern.h
usr.sbin/lpr/lpc/lpc.8
usr.sbin/lpr/lpc/lpc.c
usr.sbin/lpr/lpc/lpc.h