LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   DVD will not read on user, Slackware on a Laptop (https://www.linuxquestions.org/questions/slackware-14/dvd-will-not-read-on-user-slackware-on-a-laptop-706092/)

brokenjohn 02-20-2009 12:37 AM

DVD will not read on user, Slackware on a Laptop
 
I recently bought a laptop, and installed 12.2 on it root will read the instruction manual, but I cannot get anything other than a very long warning message on the user. I suspect that I have not include the user in the right group to have access to the CD/DVD drive, can anyone advise me please?

I have some other problems with acpi and two of the USB ports having <access denied> but I'll deal withmy problems one at a time.

kite 02-20-2009 01:35 AM

Check the file /etc/group

Add your user name to cdrom, plugdev (for usb devices), power (for shutdown/reboot).

some lines from my /etc/group for your reference;

cdrom:x:19:root,kite
plugdev:x:83:root,kite
power:x:84:kite
audio:x:17:root,kite

kite 02-20-2009 01:36 AM

And do not forget to logout and login to take effect.

Frullet 02-20-2009 02:21 AM

You need to add the user to the group "cdrom".

usermod -g cdrom YOURUSER

brokenjohn 02-21-2009 05:39 AM

Quote:

Originally Posted by brokenjohn (Post 3450609)
I recently bought a laptop, and installed 12.2 on it root will read the instruction manual, but I cannot get anything other than a very long warning message on the user. I suspect that I have not include the user in the right group to have access to the CD/DVD drive, can anyone advise me please?

I have some other problems with acpi and two of the USB ports having <access denied> but I'll deal withmy problems one at a time.

Having gone back through my installation notes for previous versions of Slackware I have found that I needed to add my users to the groups cdrom which I had done and plugdev which I hadn't, so I've solved that problem, thanks to all.

GazL 02-21-2009 07:19 AM

Quote:

Originally Posted by Frullet (Post 3450706)
You need to add the user to the group "cdrom".

usermod -g cdrom YOURUSER

No, Don't do that!
It'll change your initial group, which is a bad idea

To add a user to a group use, gpasswd (Yes, I know, the command name doesn't quite fit the function in this case, but its the right command for the job)

e.g.

Code:

gpasswd -a <userid> cdrom
where <userid> is your userid. and in this case the group is cdrom.


All times are GMT -5. The time now is 06:10 AM.