Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have created 3 standard users in my system and I want to disable CD/DVD drive for them.

How to do it?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Remove them from the cdrom group (as well as admin/adm/sudo) to restrict the privileges:

deluser username groupname


deluser gert cdrom

Then log out and log back in to make it effective.

Note! Make sure to use the second argument to deluser, otherwise it will delete the user.

share|improve this answer
+10 for the warning note ;) –  Takkat Jul 2 '13 at 11:43
i will test that and reply back –  rishab v Jul 3 '13 at 9:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.