Tuesday, 1 October 2013

which shell will sudo use to execute a shell script without the shebang line – unix.stackexchange.com

which shell will sudo use to execute a shell script without the shebang
line – unix.stackexchange.com

My environment is Ubuntu 12.04 LTS, and the sudo version is 1.8.3p1. First
I login as a normal user: $ whoami fin $ cat /etc/passwd | grep -i
"root\|fin" root:x:0:0:root:/root:/bin/bash ...

No comments:

Post a Comment