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

AIX user provider should specify passwd file encoding explicitly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.9.0
    • Fix Version/s: PUP 4.10.0
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      This is tested by puppet/tests/resource/user/utf8_user_comments.rb

      Description

      The call to read /etc/security/passwd on AIX does not specify an encoding, meaning that it defaults to Encoding.default_external.

      This may be accurate, but it might be better to read the raw bytes as BINARY for the sake of its usage.

      Will need to investigate encodings more on AIX to understand.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ethan Ethan Brown
              QA Contact:
              Eric Delaney
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support