🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6859

Re: /dev/audio permissions... (SUMM

#6859
From: Robert L. Howard
Date: Mon, 18 Feb 1991 18:43
46 lines
2296 bytes
My original post:

--I am interested in finding out how you can restrict writing to /dev/audio
--(and thus use of play, soundtool, etc.).  It would be nice if permissions
--were restricted to the user that is logged on to the console .....
:
--Is this some configuration kind of thing or would I need to do something
--like hack 'login'?

I failed to mention that I was running SunOS 4.1.1.  Fortunately the
replies I got were appropriate....

The answer is (from a typical reply):

X-From: Ed Anselmo <anselmo-ed@CS.YALE.EDU>

Under SunOS 4.1 and 4.1.1 you could add an entry for /dev/audio into
/etc/fbtab, which controls the permissions on various devices
(framebuffers, /dev/kbd, /dev/mouse) based on which tty the user is logged
in on, e.g.

/dev/console	0600	/dev/kbd:/dev/mouse 

sets the perms on /dev/kbd and /dev/mouse to 600 (owned by the user)
whenever someone is logged in on the console.

Many thanks to all who responded (listed below):

	ang@theory.lcs.mit.edu (William Ang)
	tar@math.ksu.edu (Tim Ramsey)
	grw@Eng.Sun.COM (Gregory Whitehead)
	Claus Assmann <ca%idefix.informatik.uni-kiel.dbp.de@RELAY.CS.NET>
	Ed Anselmo <anselmo-ed@CS.YALE.EDU>
	Tad Guy <tadguy@abcfd01.larc.nasa.gov>
	Joe P. DeCello <jpd@tardis.cl.msu.edu>
	guy@auspex.com (Guy Harris)
	bk@analytikerna.se (Bengt KLEBERG)
	Ian Angles <ia@st-andrews.ac.uk>
	ssd@engr.ucf.edu (Steven S. Dick)
	"Mark D. Baushke" <mdb@ESD.3Com.COM>

Thanks again,

| Robert L. Howard             |    Georgia Tech Research Institute     |
| rhoward@msd.gatech.edu       |    MATD Laboratory                     |
| (404) 528-7165               |    Atlanta, Georgia  30332             |
Technical Details
Message-ID: <1670@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: rhoward@msd.gatech.edu (Robert L. Howard)
Newsgroups: comp.sys.sun
Subject: Re: /dev/audio permissions... (SUMM
Keywords: Miscellaneous
Message-ID: <1670@brchh104.bnr.ca>
Date: 18 Feb 91 18:43:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 46
Approved: Sun-Spots@rice.edu
X-Original-Date: 11 Feb 91 18:18:45 GMT
X-Refs:  Original: v10n35
X-Sun-Spots-Digest: Volume 10, Issue 41, message 1
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu