Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.