I am running Ubuntu 9.10 and would like to set up a few custom server programs. I don't think I should be running them as root, and I have no need to. How do I create a user and group that is similar to www-data for apache?

Thanks,

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

On a Debian/Ubuntu system usually most install scripts use a command like this to create a service account.

sudo adduser --system --group {username}
link|improve this answer
feedback

sudo useradd -r username

link|improve this answer
feedback

Your Answer

 
or
required, but never shown