Redhat Linux - How to Create a User in Linux with Custom UID, Primary Group & Secondary Groups

Опубликовано: 10 Апрель 2026
на канале: Red Hat Enterprise Linux Full Course
84
3

Learn how to create a user in Linux with full customizations using the useradd command.
In this step-by-step tutorial, you will learn how to set:

Custom User ID (UID)
Primary Group (GID)
Secondary Groups
Custom home directory & shell (bonus)
How to verify user configuration after creation

useradd -u 3000 user1
useradd -g developers user1
useradd -G qa,infra user1
id user1
cat /etc/passwd
cat /etc/group

#Linux #RedHat #RHCSA #LinuxAdmin #DevOps #Useradd #Sysadmin #Tutorial

Please like, share, and subscribe to my channel for more Red Hat Linux Videos.