17.4. Configuring the root account and creating users


You can configure the root account and create users to access the system from the Installation Summary screen.

17.4.1. Configuring a root account

You can configure a root account during the installation process to log in to the administrator (also known as superuser or root) account for system administration tasks. These tasks include:

  • Installing and updating software packages
  • Changing system-wide configuration such as network and firewall settings, storage options
  • Adding or modifying users, groups and file permissions.

To gain root privileges for the installed systems, you can either use a root account or create a user account with administrative privileges (member of the wheel group). The root account is always created during the installation. Switch to the administrator account only when you need administrator access for tasks.

주의

The root account has complete control over the system. If unauthorized personnel gain access to the account, they can access or delete users' personal files.

Procedure

  1. From the Installation Summary window, select User Settings > Root Account. The Root Account window opens.

    By default, the Disable root account option is selected.

  2. To enable root account, select the Enable root account option.
  3. Type your password in the Root Password field.

    The root password is case-sensitive and must be at least eight characters long containing numbers, letters (upper and lower case) and symbols.

  4. Type the same password in the Confirm field.
  5. Optional: Select the Allow root SSH login with password option to enable SSH access (with password) to this system as the root user. By default the password-based SSH root access is disabled.
  6. Click Done to confirm your root password and return to the Installation Summary window.

    If you proceed with a weak password, you must click Done twice.

17.4.2. Creating a user account

Create a user account during RHEL installation to establish a non-root user for daily system operations from the Installation Summary window. It improves security by avoiding the use of the root account for regular tasks and provides proper user management from the start of system deployment.

+ NOTE: You should only use the root account to perform privileged tasks. Using the root account instead of a non-privileged user account to perform regular tasks can introduce a security risk.

Procedure

  1. On the Installation Summary window, select User Settings > User Creation. The Create User window opens.
  2. Type the user account name into the Full name field, for example: John Smith.
  3. Type the username into the User name field, for example: jsmith.

    The User name is used to log in from a command line; if you install a graphical environment, then your graphical login manager uses the Full name.

  4. The Add administrative privileges to this…​ option is selected by default. Deselect this option if you do not want to share administrative privileges to this account. By default, new users have administrative privileges to the system.

    An administrator user can use the sudo command to perform tasks that are only available to root by using the user password, instead of the root password. Though it is more convenient, it can also introduce a security risk.

  5. The Require a password to use this account option is selected by default. Disable it if you want to use this account without a password.

    If you give administrator privileges to a user, ensure the account is password protected. Never give a user administrator privileges without assigning a password to the account.

  6. Type a password into the Password field.
  7. Type the same password into the Confirm password field.
  8. Click Done to apply the changes and return to the Installation Summary window.

17.4.3. Editing advanced user settings

You can configure advanced user account settings during RHEL installation to customize home directories, user and group IDs, and group memberships. This provides fine-grained control over user account configuration and system security policies.

Procedure

  1. On the Create User window, click Advanced.
  2. Edit the details in the Home directory field, if required. The field is populated by default with /home/username .
  3. In the User and Groups IDs section you can:

    1. Select the Specify a user ID manually check box and use + or - to enter the required value.

      The default value is 1000. User IDs (UIDs) 0-999 are reserved by the system so they cannot be assigned to a user.

    2. Select the Specify a group ID manually check box and use + or - to enter the required value.

      The default group name is the same as the user name, and the default Group ID (GID) is 1000. GIDs 0-999 are reserved by the system so they cannot be assigned to a user group.

  4. Specify additional groups as a comma-separated list in the Group Membership field. Groups that do not already exist are created; you can specify custom GIDs for additional groups in parentheses. If you do not specify a custom GID for a new group, the new group receives a GID automatically.

    The user account created always has one default group membership (the user’s default group with an ID set in the Specify a group ID manually field).

  5. Click Save Changes to apply the updates and return to the Create User window.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동