Path: 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 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 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 Ed Anselmo Tad Guy Joe P. DeCello guy@auspex.com (Guy Harris) bk@analytikerna.se (Bengt KLEBERG) Ian Angles ssd@engr.ucf.edu (Steven S. Dick) "Mark D. Baushke" Thanks again, | Robert L. Howard | Georgia Tech Research Institute | | rhoward@msd.gatech.edu | MATD Laboratory | | (404) 528-7165 | Atlanta, Georgia 30332 |