1

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,

2 Answers2

2

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

sudo adduser --system --group {username}
Zoredache
  • 130,897
  • 41
  • 276
  • 420
0

sudo useradd -r username