3

Can anyone help me how to disable the cdrom in Ubuntu 11.10 OS level.

I tried searching google but I could not find any solution.

david6
  • 14,528
  • 5
  • 38
  • 46
JBSR
  • 31
  • 2

2 Answers2

4

From: Managing Ubuntu Linux Users and Groups

To remove a user [eg. john] from membership of a group [eg. accounts] use:

sudo deluser john accounts

And, to undo:

sudo adduser john accounts

So to match example (in other answer):

sudo deluser tachyons cdrom
sudo adduser tachyons cdrom    [to undo]
david6
  • 14,528
  • 5
  • 38
  • 46
2

Do it in your risk

Take a backup of /etc/group

press ctrl+alt+t and type gksudo gedit /etc/group

Remove the users from cdrom(in this screenshot tachyons is the user name)

enter image description here

save the file and restart your pc

Tachyons
  • 17,455