Daily Archives: 2018-12-09

tomcat 禁止root启动

2018-12-09 by Jinyang | No Comments | Filed in 技术相关

[root@localhost tomcat-6.0.36_1]# vi bin/startup.sh #!/bin/sh if [ “root” == “$USER” ] then         echo “can’t start with user ‘root’,retry after change user!”         exit 1 fi

返回顶部