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

User resource not removing password on AIX agents

    XMLWordPrintable

Details

    • Monolithic
    • Night's Watch
    • 1
    • NW - 2021-08-25
    • Needs Assessment
    • Needs Priority
    • 45238
    • 1
    • Bug Fix
    • Fix AIX puppet user resource not deleting the user's password when using the `managehome` setting.
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support