Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2954

Linux Packer Images: Improve User management

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Our Linux images should have the following setup for the Jenkins SSH and agent's usage:

      • A unprivileged default user named `jenkins` to use for SSH connection AND agent execution
        • The Jenkins Controller configurations should insert the SSH key to the jenkins user through user-data
      • The default user should NOT be allowed to execute any `sudo` command
      • The default user should have "bash" as default shell
      • A user used for administration (with the sudoers's capability) should be used for installing packages, maintenance, etc. (proposal: `ubuntu` to keep the default's cloud templates)

      Our Windows images should have the following setup for the Jenkins SSH and agent's usage:

      • A unprivileged default user named `jenkins` to use for SSH connection AND agent execution
        • The Jenkins Controller configurations should insert the SSH key to the jenkins user through user-data
      • The default user should NOT be allowed to grant administrative rights

        Attachments

          Issue Links

            Activity

            Show
            dduportal Damien Duportal added a comment - https://github.com/jenkins-infra/packer-images/pull/57

              People

              Assignee:
              dduportal Damien Duportal
              Reporter:
              dduportal Damien Duportal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: