泰安市建设职工培训中心电话网站,wordpress难用,动效网站,做网站开发的营业执照原文链接#xff1a;麒麟KYSEC使用方法02-开启及关闭exectl hello#xff0c;大家好啊#xff0c;今天给大家带来麒麟KYLINOS的kysec使用方法系列文章第二篇内容----使用命令开启及关闭exectl#xff0c;可执行程序策略有三种模式#xff0c;off/enforing/warning#xf…原文链接麒麟KYSEC使用方法02-开启及关闭exectl hello大家好啊今天给大家带来麒麟KYLINOS的kysec使用方法系列文章第二篇内容----使用命令开启及关闭exectl可执行程序策略有三种模式off/enforing/warning今天给大家介绍一下使用命令关闭可执行程序策略的文章强制和警告大家可以以此类推欢迎大家点个赞并点个在看。关注我吧 1、查看系统信息
pdsywpdsyw-pc:~/桌面$ sudo -i
rootpdsyw-pc:~#
rootpdsyw-pc:~# cat /etc/.kyinfo
[dist]
nameKylin
milestoneDesktop-V10-SP1-General-Release-2303
archarm64
betaFalse
time2023-04-27 15:46:53
dist_idKylin-Desktop-V10-SP1-General-Release-2303-arm64-2023-04-27 15:46:53[servicekey]
key0516013[os]
to
term2024-08-01rootpdsyw-pc:~# uname -a
Linux pdsyw-pc 5.4.18-85-generic #74-KYLINOS SMP Fri Mar 24 11:20:19 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
rootpdsyw-pc:~# 2、查看可执行程序的策略
rootpdsyw-pc:~# getstatus
KySec status: enabledexec control: warning
net control : warning
file protect: on
kmod protect: on
three admin : off
process protect: on
device control: on
ipt control : on
rootpdsyw-pc:~# 3、在页面查看可执行程序的策略
4、临时关闭可执行程序的策略
rootpdsyw-pc:~# setstatus -f exectl off
rootpdsyw-pc:~#
rootpdsyw-pc:~# getstatus
KySec status: enabledexec control: off
net control : warning
file protect: on
kmod protect: on
three admin : off
process protect: on
device control: on
ipt control : on
rootpdsyw-pc:~# 5、在页面查看策略情况
6、重启系统
rootpdsyw-pc:~#
rootpdsyw-pc:~#
rootpdsyw-pc:~# reboot7、重启后策略恢复
8、永久关闭可执行程序的策略
rootpdsyw-pc:~# setstatus -f exectl off -p
rootpdsyw-pc:~#
rootpdsyw-pc:~# getstatus
KySec status: enabledexec control: off
net control : warning
file protect: on
kmod protect: on
three admin : off
process protect: on
device control: on
ipt control : on
rootpdsyw-pc:~# 9、页面查看策略情况
10、重启
rootpdsyw-pc:~#
rootpdsyw-pc:~#
rootpdsyw-pc:~# reboot11、重启后策略没有恢复