I have to check if my web page running locally on nginx does not work due to permission issue. My web scripts are running as _www user, so I tried to switch to _www but this does not work:
maciek@macus:~$ sudo su - _www
Password:
maciek@macus:~$ whoami
maciek
How can I do this in 10.8.5?

_wwwuser won't have by default, nor should it have one). – mjturner Jan 05 '16 at 13:53nanoafter usingsu - usernameto switch users in Terminal. The window would get garbled when changing window size while in nano. Thank you for this-- I've been looking for a solution for days. – John Apr 01 '20 at 06:17