DEV Community

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

Posted on

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``

Top comments (0)