Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-11190

User resource not removing password on AIX agents

    XMLWordPrintable

    Details

    • Template:
      PUP Bug Template
    • Master Config:
      Monolithic
    • Agent OS:
      AIX 7.2
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2021-08-25
    • Method Found:
      Needs Assessment
    • CS Priority:
      Needs Priority
    • Zendesk Ticket IDs:
      45238
    • Zendesk Ticket Count:
      1
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Fix AIX puppet user resource not deleting the user's password when using the `managehome` setting.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 7.8.0
      Puppet Server Version: PE 2021.2 ( 7.2.0)
      OS Name/Version: AIX 7.2

      when deleting a user with Puppet (User resource type), the password entry in /etc/security/passwd is not being cleaned up.

      Resource definition example:

        user { 'saaddm':
          ensure     => 'absent',
          managehome => true
        }
       
      

      Debug:

      (130)PROD:root@xxxxxx:/root# puppet agent -t --debug 2>&1 | grep rmuser
      Debug: Executing: '/usr/sbin/rmuser saaddm'
      (0)PROD:root@xxxxxx:/root#

      Desired Behavior: password gets cleaned up

      Actual Behavior: password is still present in /etc/security/passwd

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              victor.bobosila Victor Bobosila
              Reporter:
              patrick.grant Patrick Grant
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support