Lecture 02 Users Account
Lecture 02 Users Account
• Administration Tasks
In Linux, user accounts play a crucial role in managing
access to system resources, performing administrative tasks,
and maintaining security. Here are key aspects of user
accounts in Linux:
1.Username: Each user account in Linux is associated with a unique
username. Usernames are typically alphanumeric and can include
underscores (_) or hyphens (-) but not spaces.
2.UID (User Identifier): Every user account has a numeric UID that
uniquely identifies the user within the system. The UID is used by the
system to determine the user's permissions and access rights to files,
directories, and system resources.
3.Home Directory: Each user account has a home directory where the
user's files, settings, and personal data are stored. The home directory
user accounts……
4.Shell: A shell is a command-line interface that allows users to interact with
the Linux system. Each user account is associated with a default shell, such
as Bash (/bin/bash), which determines the command prompt and behavior of
the command-line environment.
5.Password: User accounts are protected by passwords, which are used to
authenticate users during login. Passwords should be strong and kept
confidential to ensure the security of user accounts.
6.Groups: Users can be members of one or more groups in Linux. Groups
provide a way to manage permissions and access rights collectively for a set of
users. Each user account is associated with a primary group and may belong
to additional supplementary groups.
7.Permissions: Linux uses file permissions and ownership to control access to
files, directories, and system resources. Each file and directory has associated
permissions for the owner, group, and others, determining who can read, write,
or execute the file.
user accounts……
8.Root User: The root user (UID 0) is a special system account with
unrestricted privileges. The root user has full control over the system and
can perform administrative tasks, install software, modify system
configurations, and manage other user accounts.
9.System Users: Linux systems may have system accounts that are
used for running system services and processes. System accounts
typically have a UID below a certain threshold (e.g., 1000) and do not
have interactive login access.