1
vote
2answers
3k views

Changing user in a script?

I am trying to change user in order to execute a specific command during startup. It fails silently and apparently the userchange isn't carried out as I can tell that the command isn't executed. What ...
3
votes
3answers
9k views

How to create an unprivileged user in CentOS?

I want to create an unprivileged user to run my RhodeCode server and Celery daemon on a CentOS instance. I think the accepted definition of this is no home directory, login disabled, and no shell ...
2
votes
1answer
116 views

rc control user

I am playing around with rc scripts. I am starting a daemon from rc.local. I would like to know how I start the process under a specific user instead of root?