pkgaction -v 的输出结果,显示的是系统中注册的验证动作,由 share/polkit-1/action 目录下的*.policy 策略文件决定。
org.freedesktop.consolekit.system.restart:
description: Restart the system
message: System policy prevents restarting the system
vendor:
vendor_url:
icon:
implicit any: no
implicit inactive: no
implicit active: yes //允许活动会话的用户进行重启操作。
org.freedesktop.consolekit.system.restart-multiple-users:
description: Restart the system when multiple users are logged in
message: System policy prevents restarting the system when other users are logged in
vendor:
vendor_url:
icon:
implicit any: no
implicit inactive: no
implicit active: auth_admin_keep //多用户多会话,只能由root重启
org.freedesktop.consolekit.system.stop:
description: Stop the system
message: System policy prevents stopping the system
vendor:
vendor_url:
icon:
implicit any: no
implicit inactive: no
implicit active: yes
org.freedesktop.consolekit.system.stop-multiple-users:
description: Stop the system when multiple users are logged in
message: System policy prevents stopping the system when other users are logged in
vendor:
vendor_url:
icon:
implicit any: no
implicit inactive: no
implicit active: auth_admin_keep
org.freedesktop.policykit.exec:
description: Run programs as another user
message: Authentication is required to run a program as another user
vendor: The PolicyKit Project
vendor_url:
icon:
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin
org.freedesktop.policykit.lockdown:
description: Configure lock down for an action
message: Authentication is required to configure lock down policy
vendor: The PolicyKit Project
vendor_url:
icon:
implicit any: no
implicit inactive: no
implicit active: auth_admin
annotation: org.freedesktop.policykit.exec.path -> /usr/bin/pklalockdown
org.kde.fontinst.manage: 字体安装
description: Manage system-wide fonts.
message: Modifying the system-wide font configuration requires privileges.
vendor:
vendor_url:
icon:
implicit any: no
implicit inactive: no
implicit active: auth_admin 活动会话需root验证
org.kde.kcontrol.kcmclock.save: 修改系统日期和时间
description: Save the date/time settings
message: System policies prevent you from saving the date/time settings.
vendor: Date and Time Control Module
vendor_url:
icon: preferences-system-time
implicit any: no
implicit inactive: no
implicit active: auth_admin
org.kde.kcontrol.kcmremotewidgets.save:
description: Save remote widgets policies
message: Prevents the system from saving plasma remote widgets policies
vendor:
vendor_url:
icon:
implicit any: no
implicit inactive: no
implicit active: auth_admin
org.kde.ksysguard.processlisthelper.changecpuscheduler: 修改进程运行级别
description: Change CPU Scheduler and priority
message: Change which CPU scheduler is to schedule the running of a given process
vendor: KSysGuard
vendor_url:
icon: utilities-system-monitor
implicit any: no
implicit inactive: no
implicit active: auth_admin
org.kde.ksysguard.processlisthelper.changeioscheduler:
description: Change IO Scheduler and priority
message: Change how the read and writes of a given process are prioritized
vendor: KSysGuard
vendor_url:
icon: utilities-system-monitor
implicit any: no
implicit inactive: no
implicit active: auth_admin
org.kde.ksysguard.processlisthelper.renice:
description: Change the priority of a process
message: Change the niceness of a given process
vendor: KSysGuard
vendor_url:
icon: utilities-system-monitor
implicit any: no
implicit inactive: no
implicit active: auth_admin
org.kde.ksysguard.processlisthelper.sendsignal:
description: Kill or stop etc a process
message: Sends a given signal to a given process
vendor: KSysGuard
vendor_url:
icon: utilities-system-monitor
implicit any: no
implicit inactive: no
implicit active: auth_admin
阅读(838) | 评论(1) | 转发(0) |