Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ptsfa!ihnp4!homxb!houxm!stewart From: stewart@houxm.UUCP (Bill Stewart HO 4K-435 x0705) Newsgroups: comp.unix.wizards Subject: Re: System V lp setup Message-ID: <579@houxm.UUCP> Date: Wed, 18-Mar-87 22:55:36 EST Article-I.D.: houxm.579 Posted: Wed Mar 18 22:55:36 1987 Date-Received: Fri, 20-Mar-87 06:01:43 EST References: <219@polyof.UUCP> <1990001@hpl-opus.HP.COM> Organization: AT&T Bell Laboratories, Holmdel Lines: 20 Summary: lpadmin is gross and picky, but you *can* do it In article <1990001@hpl-opus.HP.COM>, jewett@hpl-opus.HP.COM (Bob Jewett) writes: : > > model. it seems as though lpadmin is HARD CODED to a handful of not very : > : > you must use > the '-i' option. (LPADMIN(1M)). For example, : : the problem is that any model must be owned by lp (and group bin?). : Try changing ownership of the files in ~lp/model and see if -m works. lpadmin is also picky about the file permissions; make the ownership and permissions the same as other model files and it'll work. What annoys me about the lp system is that "lp" runs setuid lp; this means you can't lp a file from a directory with 700 permissions or a file with 600 permissions - you have to feed lp the file as stdin. A setgid program would occasionally have this problem, but much less often. have problems (e.g. for a file -- Bill Stewart ho95c!wcs AT&T Bell Labs, Holmdel NJ HO 4K-435 x0705 (201-949-0705) {allegra, ucbvax!ihnp4, decvax!harpo}!houxf!stewart