• 请不要在回答技术问题时复制粘贴 AI 生成的内容
lbwleon
V2EX  ›  程序员

请问 userdel -rf tomcat 之后还有救吗?

  •  1
     
  •   lbwleon · Jan 23, 2017 · 3444 views
    This topic created in 3579 days ago, the information mentioned may be changed or developed.
    [root@xxx apache-tomcat-8.5.11]# userdel -rf tomcat
    userdel: error removing directory /
    [root@xxx apache-tomcat-8.5.11]# ls /
    -bash: /bin/ls: No such file or directory
    10 replies  •  2017-01-24 06:17:16 +08:00
    Busy
    Busy
    Jan 23, 2017
    1
    没救了

    为什么将 tomcat 用户的家目录设置为根目录?
    Sentur
    Sentur
    Jan 23, 2017
    2
    ??!?为什么要加-rf
    SoloCompany
    SoloCompany
    Jan 23, 2017❤️2
    3
    这姿势够特别啊
    cncqw
    cncqw
    Jan 23, 2017
    4
    @Sentur 怕删的不够彻底
    Sentur
    Sentur
    Jan 23, 2017
    5
    @cncqw 滑稽
    ryd994
    ryd994
    Jan 23, 2017
    6
    这让我想起了 steam 和 bumblebee
    justyy
    justyy
    Jan 23, 2017
    7
    为什么 userdel -rf tomcat 会 removing directory / ????
    Systemd
    Systemd
    Jan 23, 2017 via Android
    8
    我觉得你已经 rm -rf / 了……
    你之前执行了什么呢?
    macroideal
    macroideal
    Jan 24, 2017 via iPhone
    9
    牛逼
    jyf007
    jyf007
    Jan 24, 2017 via Android
    10
    保持连接,先放上 busybox 和 dropbear 救场吧(滑稽
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2970 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 00:49 · PVG 08:49 · LAX 16:49 · JFK 19:49
    ♥ Do have faith in what you're doing.