PDA

View Full Version : User mount of USB sticks



ttrcf
16-Dec-2015, 16:34
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?

ROB

Automatic reply
21-Dec-2015, 06:30
ttrcf,

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:

- Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.suse.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

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
http://forums.suse.com

AndreasMeyer
19-Sep-2016, 20:53
# 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:
https://www.suse.com/documentation/sled-12/pdfdoc/book_security/book_security.pdf