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

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

  •  1
     
  •   lbwleon · Jan 23, 2017 · 3242 views
    This topic created in 3424 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
        1
    Busy  
       Jan 23, 2017
    没救了

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