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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay