Local Logging in RHEL 7

Share

It was a lovely experience installing Red Hat Enterprise Linux Server 6.5 (RHEL, hereafter) today. I installed it on my laptop on VMware Workstation 10.
I kept gazing throughout the installation process without knowing what those white texts scrolling above the black background meant. May be I am not of appropriate age to understand all those.

I was awakened when the steps mentioned something like, “Installation Complete, Reboot”.
Later, I clicked on that option which ultimately brought me to a screen where it seemed a user account “Others”. I wondered why is my computer allowing to login others but not me ? (Jokes apart).
Seriously, the root user does not show by default. Then when I clicked it, it prompt me for the username : root (happily supplied)
password: (WsItU@16?) /* Why should I tell you in 2016? */

Unknowingly, I had used the rules for having password in Linux:

  • Do not use dictionary word
  • Should not be similar to username
  • Must be of 8 characters length
  • Should contain at least
    • one uppercase character
    • one lowercase character
    • one number
    • one special character
  • Passwords are case-sensitive

Most important point, don’t forget(they should have told before!).

A very wise person told me, “Remember a phrase and form password out of it, so that only you know the phrase and you don’t forget it so easily.”, cleaver, isn’t he?

Once the Desktop was ready, I clicked inside the workstation area for my cursor to get into the workstation so that I can supply commands. A message showed, “Press CTRL + ALT to release the mouse from the workstation.”

I right clicked on the Desktop, and selected, “Open in Terminal”. What a lovely screen appeared before me, completely clean, nothing fancy, nowhere, except on the top left corner, saying

[root@dhiraj.server.com  Desktop]#

I learnt that from left to right, they were username, machine name, folder and the Pound Sign(#) denotes that the prompt is the super user(root) prompt.

Later, I supplied few commands to create a new user in the system:

[root@dhiraj.server.com  Desktop]#useradd  kalp

output:

[root@dhiraj.server.com  Desktop]#

Since, there were no errors, I was sure that the user has been created. Now, I need to set the password.

[root@dhiraj.server.com  Desktop]#passwd kalp

Type Password: TgIfA@16

Re-type password: TgIfA@16

Actually, I showed you, but the Linux won’t, not every one is friendly like me.

Would You Mind Sharing?

Share

Be the first to comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.