How To Make User And Give It Password In RedHat Linux
How To add User Give it Password Also Basic Commands In Linux Redhat.
- Open a shell prompt.
- If you are not logged in as root, type the command su - and
enter the root password.
- Type useradd followed
by a space and the username for the new account you are creating at the
command line (for example, useradd amit).
- Press [Enter].
Often, usernames are variations on the user's name, such as amit for Sumit.
User account names can be anything from the user's name, initials, or
birthplace to something more creative.
- Type passwd followed
by a space and the username again (for example, passwd amit).
- At the New
password: prompt enter a password
for the new user and press [Enter].
- 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 amit12343#hi.
|

Leave a Comment