文件操作 - com.ubuntu.softwareproperties.policy
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/polkit-1/actions/com.ubuntu.softwareproperties.policy
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> <policyconfig> <vendor>Software Properties</vendor> <vendor_url>https://launchpad.net/software-properties</vendor_url> <icon_name>software-properties</icon_name> <action id="com.ubuntu.softwareproperties.applychanges"> <description gettext-domain="software-properties">Write Configuration</description> <message gettext-domain="software-properties">To change software repository settings, you need to authenticate.</message> <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin_keep</allow_active> </defaults> </action> </policyconfig>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件