打开终端:
sudo gedit /var/lib/polkit-1/localauthority/10-vendor.d/com.Ubuntu.desktop.pkla
里面会有
[Mounting, checking, etc. of internal drives]
Identity=unix-group:admin
Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart*
ResultActive=yes
[Change CPU Frequency scaling]
Identity=unix-group:admin
Action=org.gnome.cpufreqselector
ResultActive=yes
[Setting the clock]
Identity=unix-group:admin
Action=org.gnome.clockapplet.mechanism.*
ResultActive=yes
把最上面那段注解掉
#[Mounting, checking, etc. of internal drives]
#Identity=unix-group:admin
#Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart*
#ResultActive=yes
[Change CPU Frequency scaling]
Identity=unix-group:admin
Action=org.gnome.cpufreqselector
ResultActive=yes
[Setting the clock]
Identity=unix-group:admin
Action=org.gnome.clockapplet.mechanism.*
ResultActive=yes
保存在重新挂载windows分区 试试 成功了没!
本文介绍如何在使用Ubuntu10.04挂载Windows硬盘分区时,通过编辑配置文件来实现挂载时提示输入密码的功能,以增加系统安全性,防止普通用户误操作或他人操作造成的数据丢失或修改。
1193

被折叠的 条评论
为什么被折叠?



