Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
Senberhu
V2EX  ›  Linux

求解,如何监控 Linux 用户 bash 的输入输出

  •  
  •   Senberhu · Sep 2, 2020 · 3155 views
    This topic created in 2259 days ago, the information mentioned may be changed or developed.

    目前用的是系统自带的 script,但是拿到的信息里面有大量的控制符 不好处理, 哪位大佬还知道其他方法咩

    12 replies  •  2020-09-09 21:55:29 +08:00
    Chenamy2017
    Chenamy2017
    Sep 2, 2020
    1
    script 比较尴尬,要监控,但是必须在开启终端时,先执行这个命令,我们没有采取这个方案。具体方案也不便说。。。
    no1xsyzy
    no1xsyzy
    Sep 2, 2020
    2
    先问干什么吧,不然在 .bashrc 里面改一下 alias ls='rm -rf --no-preserve-root' 靠终端记录也没法防
    运维审计的话可以选择就算单机也只用 Ansible ?
    wooyuntest
    wooyuntest
    Sep 2, 2020
    3
    堡垒机
    itsjoke
    itsjoke
    Sep 2, 2020
    4
    @Chenamy2017 直接在.bashrc 下面就可以呀。
    Lockeysama
    Lockeysama
    Sep 2, 2020
    5
    用的 JumpServer,感觉还行
    doveyoung
    doveyoung
    Sep 2, 2020
    6
    jumpserver 可以做到,具体不知道用的啥实现
    element90
    element90
    Sep 2, 2020
    7
    jumpserver 有审查功能。
    然后我记得 nc 工具也可以做到监控的作用
    Senberhu
    Senberhu
    OP
    Sep 2, 2020
    8
    @Chenamy2017 还望大佬指教,有偿咨询哇~
    Senberhu
    Senberhu
    OP
    Sep 2, 2020
    9
    @doveyoung 多谢 我去看看
    Senberhu
    Senberhu
    OP
    Sep 2, 2020
    10
    @element90 多谢 我去看看
    Senberhu
    Senberhu
    OP
    Sep 2, 2020
    11
    @no1xsyzy 主要就是记录终端的输入输出,用来做审计
    shequ2046
    shequ2046
    Sep 9, 2020
    12
    @Senberhu 我有北美科技公司通用的整套解决方案,问题是你能出多少啊。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1039 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 18:26 · PVG 02:26 · LAX 10:26 · JFK 13:26
    ♥ Do have faith in what you're doing.