0% found this document useful (0 votes)
57 views

1.6. Creating A User Account: Red Hat Enterprise Linux 4: Red Hat Enterprise Linux Step by Step Guide

This document provides instructions for creating additional user accounts on Red Hat Enterprise Linux 4 beyond the default root account created during installation. It describes how to create accounts either graphically using the User Manager application or from the command line. The steps are to select the Users & Groups option from the panel menu, click Add User, enter username and other account details, and optionally configure additional options. Or, use the useradd and passwd commands while logged in as root to specify the username and set the password. It stresses the importance of choosing a secure yet memorable password.

Uploaded by

jai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

1.6. Creating A User Account: Red Hat Enterprise Linux 4: Red Hat Enterprise Linux Step by Step Guide

This document provides instructions for creating additional user accounts on Red Hat Enterprise Linux 4 beyond the default root account created during installation. It describes how to create accounts either graphically using the User Manager application or from the command line. The steps are to select the Users & Groups option from the panel menu, click Add User, enter username and other account details, and optionally configure additional options. Or, use the useradd and passwd commands while logged in as root to specify the username and set the password. It stresses the importance of choosing a secure yet memorable password.

Uploaded by

jai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

07/09/2017 Creating a User Account

Red Hat Enterprise Linux 4: Red Hat Enterprise Linux Step By Step Guide
Prev Chapter 1. Getting Started Next
1.6. Creating a User Account
When you first started your Red Hat Enterprise Linux system after installation, you were given the
opportunity to create one or more user accounts using the Setup Agent. If you did not create at least
one account (not including the root account) you should do so now. You should avoid working in the
root account for daily tasks.
There are two ways to create new and/or additional user accounts: using the graphical User Manager
application or from a shell prompt.
To create a user account graphically using the User Manager:

1. Select Applications (the main menu on the panel) => System Settings => Users & Groups
from the panel.
You can also start the User Manager by typing redhat-config-users at a shell prompt.
2. If you are not logged in as root, you will be prompted for your root password.
3. The window shown in Figure 1-16 will appear. Click Add User.

Figure 1-16. The Red Hat User Manager


4. In the Create New User dialog box, enter a username (this can be an abbreviation or nickname),
the full name of the user for whom this account is being created, and a password (which you will
enter a second time for verification). The name of this user's home directory and the name of the
login shell should appear by default. For most users, you can accept the defaults for the other

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Step_by_Step_Guide/s1-starting-create-accou 1/2
07/09/2017 Creating a User Account

configuration options. Refer to the Red Hat Enterprise Linux System Administration Guide
for details about additional options.
5. Click OK. The new user will appear in the user list, signaling that the user account creation is
complete.

To create a user account from a shell prompt:

1. Open a shell prompt.


2. If you are not logged in as root, type the command su - and enter the root password.
3. Type useradd followed by a space and the username for the new account you are creating at
the command line (for example, useradd jsmith). Press [Enter]. Often, usernames are
variations on the user's name, such as jsmith for John Smith. User account names can be
anything from the user's name, initials, or birthplace to something more creative.
4. Type passwd followed by a space and the username again (for example, passwd jsmith).
5. At the New password: prompt enter a password for the new user and press [Enter].
6. At the Retype new password: prompt, enter the same password to confirm your selection.

Important

You should take precautions when you choose a password. The password is the
key to your account, so it should be both unique and easy for you to remember.
Your password should be at least six characters. You can use both uppercase
and lowercase letters, as well as numbers and characters. Avoid easy selections,
such as qwerty or password. If you want to pick an easy-to-remember but
somewhat unique password, consider a variation of a word, such as a1rPl4nE
for airplane.

Prev Home Next


Opening a Shell Prompt Up Documentation and Help

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Step_by_Step_Guide/s1-starting-create-accou 2/2

You might also like