我为用户分配了“用户安全”configuration文件,以便他们可以重置用户密码并解锁帐户。
当用户执行pfexec时,Solaris是否保存logging?
我在/var/adm/messages没有看到任何logging。 我在审计日志中没有看到使用praudit <audit_log_file> | grep pfexec praudit <audit_log_file> | grep pfexec 。
发现它as审计类logging。 然后使用:
auditreduce -c as <audit_log_file> | praudit | grep "profile command"