4 ms·
I tried that but it just said `su: Sorry.` and exited with 1.
by xena 6y ago
I tried that but it just said `su: Sorry.` and exited with 1.
- johnisgood 6y agoInteresting, which OS? Can you tell some details? I am on Arch Linux, and my su version is: su from util-linux 2.36.1. With root and that command I can become http, git, what have you. :D
- xena 6y agoFreeBSD 12.2 on a raspberry pi
- johnisgood 6y agoHmm, I see. On Linux, at least on Arch Linux using that version of su it does work. Someone said "sudo -u user /usr/local/bin/bash" works on FreeBSD. Does that work at least? Of course change the user and potentially the path to bash if you have it installed elsewhere.