WHERE IT WORKS : ArchLinuxWHERE IT DOESN'T WORK : OpenSuSE TumbleweedHOW I MOUNT PARTITIONS WITHOUT ROOT PASSWORDudiskctl mount -b /dev/sdxyThe above command needs Udisks2 package installed.HOW IT WORKSFrom OpenSuSE:So, accordingly I open this file:/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy& change the following line:<allow_active>auth_admin_keep</allow_active>to<allow_active>yes</allow_active>of the following actions:<action id=org.freedesktop.udisks2.filesystem-mount><action id=org.freedesktop.udisks2.filesystem-mount-system>In ArchLinux, everything works.In OpenSuSE Tumbleweed: The above edit works with external drives but doesn't work with same hard drive partitions that my OS is installed on, i.e., if my OS is installed on /dev/sda then, the above edit lets me mount any partition other than my hard drive, i.e., /dev/sdbx, etc. and not /dev/sdax.What I could understand is that, it respects this action:<action id=org.freedesktop.udisks2.filesystem-mount>and disrespects the following action:<action id=org.freedesktop.udisks2.filesystem-mount-system>Question : Why is my edit not respected in OpenSuSE Tumbleweed for system partitions, i.e., I still need to enter the root password?Some points:In neither of the OSes does the user have any kind of privileges like being a member of the wheel group, etc.EDIT:It seems that OpenSuSE doesn't respect the direct editing of the file:/usr/share/polkit-1/actions/org.freedesktop.udisks2.policySo, from OpenSuSE, instead the file that needs to be edited is:/etc/polkit-default-privs.localAdding these lines to the file:org.freedesktop.udisks2.filesystem-mount-system auth_admin:auth_admin:yesorg.freedesktop.udisks2.filesystem-mount auth_admin:auth_admin:yesand finally running the following command solved the problem:sudo set_polkit_default_privs
Unable to mount partition without root
arch linux;opensuse;udisks