Starting the RHCSA: Day 1 Insights into Networking and User Management

Hey Hashnode fam! π
Welcome to Day 1 of my RHCSA (Red Hat Certified System Administrator) journey! π―
Iβve started diving into real exam-style questions and wanted to document my learning here β both for my own accountability and to help anyone else preparing too.
Today, I tackled two core topics:
π§ Network configuration using nmcli & nmtui
π₯ User, group, and shell management
Hereβs what I practiced π
βοΈ Task 1: Configure TCP/IP and Hostname
π The Requirements:
IP ADDRESS: 172.24.250.10
NETMASK: 255.255.255.0
GATEWAY: 172.24.250.254
DNS: 172.24.250.254
HOSTNAME: node1.lab.example.com
π οΈ Steps I Followed
- Assign static IP using
nmcli
:
nmcli con mod ens33 ipv4.addresses 172.24.250.10/24
nmcli con mod ens33 ipv4.gateway 172.24.250.254
nmcli con mod ens33 ipv4.dns 172.24.250.254
nmcli con mod ens33 ipv4.method manual
nmcli con up ens33
Or similarly use the nmtui for the UI way to save time if you donβt want to remember the command.
Verify Everything.
ip a
hostnamectl
π€ Task 2: Create Users, Groups & Manage Shell Access
π― The Goal:
Create a group named
sysadm
Create users:
harry
,natasha
, andsarah
harry
&natasha
: members ofsysadm
(secondary group)sarah
: no interactive shell, not a part ofsysadm
All users must have password:
ablerate
Create the group
groupadd sysadm
Create users with secondary group 'sysadm'
useradd -G sysadm harry useradd -G sysadm natasha
Create user with no interactive shell
useradd -s /sbin/nologin sarah
Set password for all users
echo "ablerate" | passwd --stdin harry echo "ablerate" | passwd --stdin natasha echo "ablerate" | passwd --stdin sarah
Verification
id harry
id natasha
id sarah
π‘ Key Takeaways from Day 1
nmcli
is a powerful tool β especially for RHCSA exam scenarios.Always double-check group assignments with
id
.Setting shells like
/sbin/nologin
is useful when you need restricted users.
π¬ Let's Talk!
Are you prepping for RHCSA too?
Or maybe you're brushing up on your sysadmin skills?
π Drop your thoughts in the comments:
Whatβs one Linux command you think every sysadmin should master?
Ever messed up a
nmcli
config and lost SSH? π (I almost did!)
Letβs connect, support each other, and crush this certification πͺ
Thank you for reading! π If you found this guide helpful or have any suggestions, tips, or questions about Linux Permissions, please feel free to leave a comment below. Iβd love to hear from you and learn together!
Don't forget to follow my blog for more awesome insights on development topics, and connect with me on LinkedIn and GitHub to stay updated on all things tech and coding! π
Subscribe to my newsletter
Read articles from Shubham Ahire directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Shubham Ahire
Shubham Ahire
DevOps Engineer with a passion for optimizing workflows and enhancing collaboration between development and operations teams. I thrive on tackling challenges and enjoy contributing to open-source projects. Always eager to learn and share knowledge, I believe in the power of community and continuous improvement in the tech landscape.