sudo -H -u 用户 命令
1
sudo -H -u sonar /home/tools/sonar/sonarqube-7.9.5/bin/linux-x86-64/sonar.sh start