Linux Basic

The Linux and Windows operating systems do have a good number of things in common, and one of them is the need for users and groups. Since you will encounter Linux systems, we need to look at them as well.

A typical account used to log in to a Linux computer consists of the following information:

  • Username and user ID (UID)
  • Password
  • Primary group name and group ID (GID)
  • Secondary group names and group IDs
  • Location of the home directory
  • Preferred shell

Whenever a user account is created, Linux records the user login information and stores the values in the etc/passwd file on the host itself. The passwd file can be viewed and edited with any text editor.

Each user account has an entry recorded in the following format: username:password:UID:GID:name:home directory:shell

Please follow and like us:

Leave a Reply

Your email address will not be published.