You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
- This is the standard ISDA System User setup. It includes the standard users db, www, logs, and repos. db is for databases, www is for web servers/services, repos is for repository services (such as Alfresco or svn) even if they have a web front end (since almost all of them can be accessed through multiple protocols), and the logs user is a general user for accessing logs and configuration files. It is used by giving group ownership to the logs group to any file that should be accessible/editable to the logs user.
cd /home
groupadd -r logs
useradd -g logs -d /home/logs -m -r -s /bin/bash logs
groupadd -r www
useradd -g www -G logs -d /home/www -m -r -s /bin/bash www
groupadd -r repos
useradd -g repos -G logs -d /home/repos -m -r -s /bin/bash repos
groupadd -r db
useradd -g db -G logs -d /home/db -m -r -s /bin/bash db