首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我不希望其他用户看到我的进程在ps辅助。我有根。我是Debian。如何使用grsec?

我不希望其他用户看到我的进程在ps辅助。我有根。我是Debian。如何使用grsec?
EN

Unix & Linux用户
提问于 2011-04-23 11:03:11
回答 1查看 3.9K关注 0票数 5

我安装了‘linux补丁-grsecurity2’,它有某种接口。

代码语言:javascript
复制
~$ sudo gradm2
gradm 2.1.14
grsecurity administration program

Usage: gradm [option] ...

Examples:
        gradm -P
        gradm -F -L /etc/grsec/learning.logs -O /etc/grsec/policy
Options:
        -E, --enable    Enable the grsecurity RBAC system
        -D, --disable   Disable the grsecurity RBAC system
        -C, --check     Check RBAC policy for errors
        -S, --status    Check status of RBAC system
        -F, --fulllearn Enable full system learning
        -P [rolename], --passwd
                        Create password for RBAC administration
                        or a special role
        -R, --reload    Reload the RBAC system while in admin mode
        -L <filename>, --learn
                        Specify the pathname for learning logs
        -O <filename>, --output
                        Specify where to place policies generated from
                        learning mode
        -M <filename|uid>, --modsegv
                        Remove a ban on a specific file or UID
        -a <rolename> , --auth
                        Authenticates to a special role that requires auth
        -u, --unauth    Remove yourself from your current special role
        -n <rolename> , --noauth
                        Transitions to a special role that doesn't
                        require authentication
        -p <rolename> , --pamauth
                        Authenticates to a special role through PAM
        -V, --verbose   Display verbose policy statistics when enabling system
        -h, --help      Display this help
        -v, --version   Display version information

我没有成功地找到任何关于如何使用它来限制用户的'ps‘列表的文档?

EN

回答 1

Unix & Linux用户

发布于 2011-08-17 17:47:00

您需要设置适当的内核配置选项。这是相关部分 of 文档。我不认为你能从梯度策略文件中做出来。

票数 3
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/11873

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档