Den mån 22 nov. 2021 kl 06:27 skrev Sandeep Gupta <[email protected]>: > The httpd server runs under user www. In my web deployment setup, the > httpd server communicates over uWSGI/gunicorn server over unix domain > sockets. > I am not able to launch uwsgi (or gunicorn) server under www user. > The command > "doas -u www <launchcmd>" gives error > "operation not permitted". As root, trying to lauch a shell "su www > -l /bin/bash" returns "The account is currently not available". > Whats the recommended way to launch process under www?
machine# su -s /bin/sh www machine$ id uid=67(www) gid=67(www) groups=67(www) machine$ -- May the most significant bit of your life be positive.

