[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE, Permissions



On Wed, May 01, 2002 at 01:22:25PM -0700, Sean 'Shaleh' Perry wrote:
> > 
> > I have KDE, and whenever it starts up, it says it cannot initialize the
> > sound, because /dev/dsp returns "permission denied".  (I am assuming
> > that dev/dsp refers to the DSP on the sound card.)
> > 
> > Likewise, I cannot run Floppy services unless I log in as root.  
> > 
> > Then, too, when I try to run kppp, it fails to recognize the modem, even
> > when I try to access the modem through the stty ports.  
> > 
> > I'd really rather just give permission for access to these things, if
> > that is possible.  How would I modify the permissions for these things,
> > in general?  We have 3 users, plus root, 1 computer system.  I therefore
> > could either modify it for each, or modify it for all, but I'd like to
> > know how to do this.
> > 
> > Also, is there anything particularly risky about doing that?
> 
> If you look at the files in /dev you will note each is also part of a special
> group.  dsp is audio, floppy is floppy, your modem should be dialout.  The
> debian approach is to simply add the user(s) who need access to the right
> groups.  You can accomplish this easily by editing /etc/groups and adding the
> name(s) as a comma separated list to the end of the line desired.

Instead of editing files, why not let adduser do the legwork:
    # adduser somebody floppy
    # adduser somebody audio

-- 
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
==== Today's fortune:
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)

Attachment: pgpiDNtXmeQOW.pgp
Description: PGP signature


Reply to: