0
我正在使用Debian 8(Jessie)(64位)。我想以普通用户的身份运行程序,而无需为普通用户创建和切换帐户。以普通用户身份执行程序(以root身份)
我正在从bash脚本主程序:
screen ./run
其中行程包含:
#!/bin/bash
ulimit -c unlimited
while true; do ./tfs --log-file "output.txt" "error.txt" | tee out.txt; done
我要运行的 'TFS' 作为普通用户
'su'命令就是为了这个目的。 – karakfa