1. 07 Mar, 2022 10 commits
  2. 04 Mar, 2022 6 commits
  3. 03 Mar, 2022 23 commits
  4. 02 Mar, 2022 1 commit
    • Andrew's avatar
      NAS-115027 / 22.12 / Optimize reloads of user service (#8386) · 599194b3
      Andrew authored
      * Optimize reloads of user service
      
      Consolidate all the mako files associated with a user service
      reload into a single python file. This minimizes the amount
      of times that user.query and group.query must be called. On
      test server with high user count, this changeset halves the
      amount of time it takes to add or delete a new user.
      
      * Enhance user API test
      
      Improve existing user tests by validating the following:
      - pw_dir reflects the homedir specified when creating a user
      - pw_gecos reflects the specified user
      - group list is properly updated
      
      Verify that /etc/passwd, /etc/shadow, /etc/group, /etc/sudoers
      are properly written in a way that reflects account modifications.
      599194b3