gpt4 book ai didi

solaris - 打开 .bsm 文件

转载 作者:行者123 更新时间:2023-12-01 12:49:46 27 4
gpt4 key购买 nike

我正在尝试读取 pascal.bsm 文件的内容。我基本上感兴趣的是文件中包含的系统调用。我不知道如何打开和读取文件。我要读取的文件是 here它是由 solaris 系统生成的文件,包含不易阅读的审计数据。我应该怎么办?谢谢。

最佳答案

只需使用 praudit在 Solaris 上:

$ praudit pascal.bsm
file,1999-03-01 13:31:59.731 +01:00,
header,36,2,system booted,na,1999-03-01 13:31:32.219 +01:00
text,booting kernel
header,126,2,open(2) - read,,1999-03-01 13:32:19.241 +01:00
path,/etc/security/audit_control
attribute,100664,root,other,8388608,62781,0
subject,root,root,other,root,other,257,257,0 0 172.16.112.50
return,success,4
trailer,126
header,150,2,ioctl(2),fe,1999-03-01 13:32:19.241 +01:00
path,/etc/security/audit_control
attribute,100664,root,other,8388608,62781,0
argument,2,0x5401,cmd
argument,3,0xefffed7c,arg
subject,root,root,other,root,other,257,257,0 0 172.16.112.50
return,failure: Inappropriate ioctl for device,-1
trailer,150
header,137,2,close(2),,1999-03-01 13:32:19.241 +01:00
argument,1,0x4,fd
path,/etc/security/audit_control
...

关于solaris - 打开 .bsm 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6901082/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com