FreeBSD Allow Normal Users To Mount CDROMs/DVDs/USB Devices

In FreeBSD, you can allow normal users to mount CDROMs, DVDs, and USB devices by adding them to the operator group. The operator group is automatically granted the ability to mount removable devices.

To add a user to the operator group, use the pw utility as follows:

sudo pw groupmod operator -m <username>

Where <username> is the name of the user you want to add to the operator group. After adding the user to the group, log out and log back in for the changes to take effect.

If you want to add multiple users to the operator group, you can list them as a space-separated list:

sudo pw groupmod operator -m user1 user2 user3

Once the users have been added to the operator group, they should be able to mount CDROMs, DVDs, and USB devices without being root.

Leave a Comment