RHEL Linux - Red Hat System Administration Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the RHEL Linux - Red Hat System Administration Exam. Enhance your knowledge with flashcards and multiple-choice questions, complete with hints and explanations. Prepare for your certification!

Practice this question and more.


Which command is used to manage user accounts in RHEL Linux?

  1. useradd

  2. adduser

  3. newuser

  4. createuser

The correct answer is: useradd

The command used to manage user accounts in RHEL Linux is useradd. This command is the primary method for creating new user accounts within the system. It allows administrators to specify various options during account creation, such as setting a home directory, defining the user's shell, and establishing a user ID. While adduser is often synonymous with useradd in many Linux distributions, it is essentially a script that may provide additional functionality or convenience, depending on the specific system’s settings. In RHEL, useradd is the preferred and standard command for this purpose. The other options, newuser and createuser, are not standard commands in RHEL Linux for managing user accounts. They may not exist in the system by default or may be part of specific distributions or applications, which is why they are not recognized as valid commands for this task in RHEL Linux. Understanding useradd is essential for effective user management and system administration.