You are not logged in.

#1 2010-11-24 20:06:59

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Deny user to mount disks under dolphin(kde).

Hi,

i have some problem with configuration of my workstation. When i run gnome file manager there are listed partition on left pane. When i click on some partition nautilus ask for root password but when i do same thing using dolphin it mount without password. The problem is i do not want users to mount disks without password so nautilus like behaviour is wanted independent of program that tries to mount disk. I know that this task is achieved by hal but i do not know how to deny user mounting volumes.

Offline

#2 2010-11-24 20:08:22

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Re: Deny user to mount disks under dolphin(kde).

i also wanted to say that i do want users to be able to mount disks but after entering password or preferably i would like them to mount only some disks.

Offline

#3 2010-11-24 20:20:27

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Re: Deny user to mount disks under dolphin(kde).

i found something like this
/etc/hal/fdi/policy/10-no-fixed-drives.fdi

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
<device>
  <match key="@block.storage_device:storage.hotpluggable" bool="false">
    <match key="@block.storage_device:storage.removable" bool="false">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
  </match>
</device>
</deviceinfo>

but it will deny mounting of all volumes besides pendrives. It is almost what i want but i would also want to configure that some users are allowed to mount some disks preferably without any password.

Offline

Board footer

Powered by FluxBB