no cdrom for regular users

Peter Garrett peter.garrett at optusnet.com.au
Sat Nov 19 03:45:27 UTC 2005


On Fri, 18 Nov 2005 23:31:32 +0000
neil woolford <lists at neilwoolford.plus.com> wrote:

> On Fri, 2005-11-18 at 22:51 +0100, albi wrote:
> > On Fri, 18 Nov 2005 13:17:36 -0800
> > "James D. Parra" <Jamesp at MusicReports.com> wrote:
> > 
> > > I get 'permission denied' when attempting to access /dev/cdrom as
> > > regular user. How can I grant non-root users access to the cdrom to
> > > play music?
> > > 
> 
> > 
> > put your user(s) in the group cdrom  ( --> sudo nano /etc/group )
> > 

Much easier from the command line is

sudo adduser <yourusername> cdrom

(or in more generalised form:  sudo adduser <username> <group to which you want to add the user > )

> 
> Or use the gui tool at Sytem->Administration->Users and Groups.  Select
> the user and then click the properties button.  The User Privileges tab
> on the popup allows you to set various properties including access to CD
> devices.
> 
> Neil
> 
And of course Neil's way is easy too :) Also the graphical interface is easier if you need to make multiple changes, although that can also be done from the CLI, of course.

Peter

-- 

Linux User #343161 




More information about the ubuntu-users mailing list