請問ubuntu9.10 掛載硬碟 - Linux

By Edith
at 2009-12-14T21:26
at 2009-12-14T21:26
Table of Contents
※ 引述《yu00928 (黑皮)》之銘言:
: 以前還是9.04的時候
: 掛載硬碟只有第一次要打密碼
: 之後他就會把密碼紀錄起來
: 但是現在9.10
: 每次都要輸密碼
: 我覺得很麻煩
: 請問要怎麼調才能像以前那樣
: 謝謝
首先
gksudo gedit
/usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy
(這裡請弄成一行 外加空格)
找到
<action id="org.freedesktop.devicekit.disks.filesystem-mount-system-internal">
<description>Mount a system-internal device</description>
<description xml:lang="da">Montér en intern enhed</description>
<description xml:lang="de">Eingebautes Gerät einhängen</description>
<message>Authentication is required to mount the device</message>
<message xml:lang="da">Autorisering er påkrævet for at montere et fil
system</message>
<message xml:lang="de">Zugriffsrechte werden benötigt um das Gerät
einzuhängen</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
把 <allow_active>auth_admin_keep</allow_active>
改成 <allow_active>yes</allow_active>
--
(__)
(oo) ..."Have you mooed today?"...
/------\/
/ | ||
* /\---/\
~~ ~~ Welcome to my Blog http://www.renn999.co.cc
--
: 以前還是9.04的時候
: 掛載硬碟只有第一次要打密碼
: 之後他就會把密碼紀錄起來
: 但是現在9.10
: 每次都要輸密碼
: 我覺得很麻煩
: 請問要怎麼調才能像以前那樣
: 謝謝
首先
gksudo gedit
/usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy
(這裡請弄成一行 外加空格)
找到
<action id="org.freedesktop.devicekit.disks.filesystem-mount-system-internal">
<description>Mount a system-internal device</description>
<description xml:lang="da">Montér en intern enhed</description>
<description xml:lang="de">Eingebautes Gerät einhängen</description>
<message>Authentication is required to mount the device</message>
<message xml:lang="da">Autorisering er påkrævet for at montere et fil
system</message>
<message xml:lang="de">Zugriffsrechte werden benötigt um das Gerät
einzuhängen</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
把 <allow_active>auth_admin_keep</allow_active>
改成 <allow_active>yes</allow_active>
--
(__)
(oo) ..."Have you mooed today?"...
/------\/
/ | ||
* /\---/\
~~ ~~ Welcome to my Blog http://www.renn999.co.cc
--
Tags:
Linux
All Comments

By Jack
at 2009-12-16T05:25
at 2009-12-16T05:25
Related Posts
Bridge與iptables

By Lily
at 2009-12-14T15:30
at 2009-12-14T15:30
Bridge與iptables

By Victoria
at 2009-12-14T15:10
at 2009-12-14T15:10
圓剛電視卡在linux mint的驅動

By Carol
at 2009-12-14T13:13
at 2009-12-14T13:13
Google Chrome on Linux

By Una
at 2009-12-14T12:09
at 2009-12-14T12:09
Mandriva 2010安裝問題

By Skylar Davis
at 2009-12-14T12:05
at 2009-12-14T12:05