shell 切换用户

  # For SELinux we need to use ‘runuser‘ not ‘su‘shell if [ -x "/sbin/runuser" ]; thenim      SU="/sbin/runuser -s /bin/sh"vi elsetime      SU="/bin/su -s /bin/sh" fi   若是想要切换用户而且执行一些组件的shell应该使用如下的命令
相关文章
相关标签/搜索