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

Shubham AhireShubham Ahire
3 min read

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

  1. 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, and sarah

    • harry & natasha: members of sysadm (secondary group)

    • sarah: no interactive shell, not a part of sysadm

  • 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! πŸŽ‰

0
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.