How do I run uWSGI as a limited-access user?
问题 I have Django setup in NGINX + uWSGI. I'm able to get it running fine under my current logged in user (with help from a question I asked few days back) but now I want to run uwsgi --ini uwsgi.ini as a limited-access user . Here is what I've done so far: 1. Created a user djangouser without login access and without a home directory. 2. Added user nginx into group djangouser 3. Placed my django files into /mnt/django directory and changed file permissions of django to drwxrwx--- djangouser