Ubuntu 10 恢復舊版的 Ubuntu 掛載硬碟需要密碼方式

1. Ubuntu 10 恢復舊版的 Ubuntu 掛載硬碟需要密碼方式

開啟終端機輸入下列指令開啟這個文件


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


存檔後就變成掛載磁碟需要密碼

留言

熱門文章