*BSD News Article 15052


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!saimiri.primate.wisc.edu!sdd.hp.com!nigel.msen.com!fmsrl7!lynx.unm.edu!chaos.aoc.nrao.edu!juphoff
From: juphoff@chaos.aoc.nrao.edu (Jeff Uphoff)
Subject: How do I start a printer?
Message-ID: <1993Apr25.095108.12215@chaos.aoc.nrao.edu>
Organization: National Radio Astronomy Observatory, Socorro NM
Date: Sun, 25 Apr 93 09:51:08 GMT
Lines: 23

I have got 386BSD running finally...a 386/33.  I am curious how to 
start printing.  When I boot, I don't get a message saying that unix
has recognized any printer connected (the com ports, math co., disks
all get recognized--the device names, interrupt, addresses and such
are fine).  I have a printer on LPT1 on irq 7.  how do I get print
services started?  do I have to simply mknod lp....?
if so, what would the major and minor #'s be?
I recall seeing something about a printer socket, but I'm new to
this depth of unix, so I'm not sure what sockets even are.
Any help anyone could give me on printers would be most appreciated.

Also, I have a question about shutdown.  The way it is set up, anyone
can shutdown the system.  How do I go about limiting shutdown
privel's to root and an exclusive group (a named group called shutdown).
I have played with chown, chmod, etc. for this, but just can't seem
to get it right.

Thanx...e-mail responses would be most appreciated.

-- 
Jeff Uphoff -- "Uppie"     |  
juphoff@astro.phys.vt.edu  |  new .sig under construction...
juphoff@zia.aoc.nrao.edu   |