User mount of USB sticks

When a user plugs in a USB stick into a SLED12 machine it always asks for the root password before it can be accessed. Is it possible to automatically mount on plug in of device for users?



It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team

cat /etc/polkit-default-privs.local

org.freedesktop.udisks2.filesystem-mount auth_admin:auth_admin:yes org.freedesktop.udisks2.filesystem-unmount-others auth_admin:auth_admin:yes org.freedesktop.udisks2.eject-media auth_admin:auth_admin:yes

# su
# rm -f /var/lib/polkit/* && set_polkit_default_privs

For more information, see SLED 12 SP1 Security Guide, chapter 9.4.3 and 9.5: