I have a small question.
I have a second drive in my machine, I use for sorted files and images. When I want to use it I am required to give a root password. Is there any way to get away from having to use passwords?
I have a small question.
I have a second drive in my machine, I use for sorted files and images. When I want to use it I am required to give a root password. Is there any way to get away from having to use passwords?
mount it in /etc/fstab. Note you can edit the file or set it up in yast.
Mount requires root but once mounted it can set for anyone’s use
I use second and removable drives all the time without requiring a root password.
How is this physical drive physically connected, and how is it mounted… if not by fstab is it mounted by UDEV?
And, do you have special non-default security enabled like SELINUX?
How was this second drive’s partitions and formatting created?
What is the format?
Is this machine part of Network security like LDAP or AD, or is this machine purely standalone?
TSU
Went in yast, found my etc, could not find fstab.
The drive is my secondary sata drive inside case. It has a NTFS format.
First, fstab is located here: /etc/fstab and must be edited as root. A bash tool I have can be used to edit it as root:
SYSEdit - System File Editor - Version 1.50 - Blogs - openSUSE Forums
You can use the YaST Partitioner to do this for you if you wish:
YaST (Root Password) / System / Partitioner
You must give the drive somewhere (A Folder name) to be mounted and the Partitioner will create it for you if not there. Stay away from folders the system creates for you. The permissions for the folder you create and the mount options for the drive partition type do have an effect on using the drive without using a password.
I would read up of the fstab file before I did anything else I think.
Thank You,
Not sure if this helps, not as fancy as editing Fstabs and stuff but…try opening the mounted drive then File > Properties > Permissions > And change the Ownership to ‘Root’.
http://img407.imageshack.us/img407/4560/9bbi.jpg](http://imageshack.us/photo/my-images/407/9bbi.jpg/)
Uploaded with ImageShack.us
Fixed the exact issue you are having for me.
Adding the following line to the file /etc/polkit-default-privs.local and running “sudo /sbin/set_polkit_default_privs” should also allow it (and other system disks) to be used in KDE or GNOME without root password:
org.freedesktop.udisks2.filesystem-mount-system yes