Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1105220
  • 博文数量: 121
  • 博客积分: 8910
  • 博客等级: 上将
  • 技术积分: 2915
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-18 09:36
文章分类

全部博文(121)

文章存档

2011年(3)

2010年(100)

2008年(18)

分类:

2010-04-08 11:17:18

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

阅读(745) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

安何2010-05-13 09:58:28