10 Oct
2021
10 Oct
'21
11:24
W dniu 10.10.2021 o 13:18, jdd@dodin.org pisze:
Le 10/10/2021 à 12:55, Adam Mizerski a écrit :
sudo -u news -s /bin/bash command
# LANG=US ; sudo -u news -s /bin/bash ls /usr/bin/ls: /usr/bin/ls: cannot execute binary file
:-( thanks jdd
Interesting. I reproduced this locally, but I have no idea why it doesn't work like that. But what definitely works is "sudo -u news -s /bin/bash". It will give you interactive shell.