head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	97.11.04.23.02.54;	author itz;	state Exp;
branches;
next	1.2;

1.2
date	97.11.04.02.37.44;	author itz;	state Exp;
branches;
next	1.1;

1.1
date	97.11.04.02.32.53;	author itz;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Privileged user/group now configurable in top makefile.
@
text
@all:	lpq

lpq:	lpq.o ../common_source/libcommon.a

install: lpq
	install  -o $(DAEMON_USER) -g $(DAEMON_GROUP) -s -m6755 lpq /usr/bin

clean:
	rm -f lpq *.o

@


1.2
log
@(install): install lpq setuid to the lp daemon
        user.  This is needed because lpq does a kill(pid, 0) on the lpd
        spawn for the particular printer, which fails if the effective
        uids of the two processes differ.  That's where the stupid
        "Warning: no daemon" message came from.
@
text
@d6 1
a6 1
	install  -o lp -g lp -s -m6755 lpq /usr/bin
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
	install  -o root -g lp -s -m2755 lpq /usr/bin
@
