shell脚本su - root或者su - 用户,之后的就不运行了

解决:
su - 用户 -c "命令"   (也可以,"命令;命令")

猜你喜欢

转载自blog.csdn.net/zzhlinux911218/article/details/85331531
SU
今日推荐