3.1. Creating the lockss User


Commands in this section are run as root 1.

The first task is to create a system user named lockss, under which the LOCKSS system will run.

Run this useradd command as root 1:

useradd --system --user-group --create-home --shell=/bin/bash lockss

or equivalently:

useradd -rUms /bin/bash lockss

This will create a lockss system user, a lockss system group, and a home directory in /home/lockss.



See Running Commands as root.