Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15253

ch10s05 Managing Local User Accounts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • RH124 - RHEL10.0-en-2-20250709
    • RH0019L, RH124
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 10
    • en-US (English)

      This new diagram for the `useradd` command is nice but it opens up a can of worms because of what it misses:

      • The `useradd` command also reads `/etc/default/useradd` which should be mentioned in the lecture actually.
      • It also adds an entry to `/etc/gshadow` when you create a user.
      • It creates a mailbox for the user under `/var/spool/mail`
      • It updates `/etc/subuid` and `/etc/subgid` to add subordinate ranges for the new user.

      Also, the lecture should mention that `userdel -r` removes both the home directory and the mailbox.

              rhn-support-sdhange Shreya Dhange
              zoltanmolnar Zoltan Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: