I want to su - nginx
so I can check if I have set up soft and hard limit for opened files correctly.
Why can't I su - nginx
? I get an error *No passwd entry for user 'nginx'*
EDIT:
Of course the user was www-data not nginx...
When I do su - www-data
I get This account is currently not available.
Basically what my question is, I want to see limits for opened files. If I do ulimit -n
under root, I get 1024, which I know is wrong...
su - www-data -s /bin/bash
– Moritz Apr 8 '19 at 14:19