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

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. The user groups and users are created for the OS, not for the database.

The user name nebula and user group name nebula are used as examples in the following operations. Use actual names based on your requirements.

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