Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!ted@braggvax.arpa From: ted@braggvax.arpa Newsgroups: comp.unix.wizards Subject: Re: lpd problem (Sun 3.2 / imagen) Message-ID: <5013@brl-adm.ARPA> Date: Wed, 18-Mar-87 08:17:34 EST Article-I.D.: brl-adm.5013 Posted: Wed Mar 18 08:17:34 1987 Date-Received: Thu, 19-Mar-87 06:58:26 EST Sender: news@brl-adm.ARPA Lines: 31 >From: Stewart Levin > >.......................Our problem is that the line printer demon /etc/lpd >gets fired up, chews up a lot of CPU, and never successfully execs any of >the imagen filters........ > > Thanks -- ...!decvax!hanauma!stew or na.levin@su-score.arpa What I found was that sun 3.2 does you a real "favor" with its new csh. If you look at the imagen filters, you find that they are really one csh script with 33 hardlinks (different names to it). /usr/lib/lpd is an suid program and the new csh will not let you exec a csh script from an suid program without your giving the -b flag when you crank it up. We found this out the hard way (although it is documented on the csh man page). This "favor" will probably break other things too. Here is the fix. Change the top line of the shell script from #!/bin/csh -f to #!/bin/csh -bf Worked for us, Ted Nolan ted@braggvax.arpa