DEV Community

Cover image for LINUX CHALLENGE, DAY 4
Blessing Ndubuisi
Blessing Ndubuisi

Posted on

1

LINUX CHALLENGE, DAY 4

User Management

Today, I covered and learned about the essential topics of Linux User Management, including:

  1. User Account Creation: useradd and adduser
  2. User Deletion:userdel
  3. System User Creation: useradd -r and adduser --system
  4. Password Management: passwd
  5. Group Management: groupadd, groupdel , and groupmod Key Commands:
  • useradd [username]: Create a new user with default settings
  • adduser [username]: Create a new user with interactive prompts
  • userdel [username]: Delete a user account
  • passwd [username]: Set or change a user's password
  • groupadd [groupname]: Create a new group
    -groupdel[groupname]: Delete a group

  • i used id [username] to display user information

  • Used groups [username] to display a user's group membership

  • Used sudo for user management tasks

  • Regularly review user and group accounts

I'm excited to apply these skills to real-world scenarios and continue improving my Linux expertise!

LinuxUserManagement #LinuxChallenge #SysAdmin #DevOps #ITProfessional #LinuxCommunity #LearningJournal``

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay