Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a User Group and a User

In a server environment, independent users are assigned to each process to implement permission isolation for security purposes. User groups and users are created for the OS, not for the database.

The user created in this step will be used in 1.

  1. Create a postgres user (and a user group).
    1
    2
    groupadd postgres
    useradd -g postgres postgres
    
  2. Set the password of the postgres user. Enter the same password twice as prompted.
    1
    passwd postgres