I have created 3 standard users in my system and I want to disable CD/DVD drive for them.
How to do it?
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.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago