我要评分
获取效率
正确性
完整性
易理解

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 procedure will be used in 4. In the following operations, the user name gpadmin and the user group name gpadmin are used as examples. Replace them with the actual ones.

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