[ 
https://issues.jenkins-ci.org/browse/JENKINS-8895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

francis Upton resolved JENKINS-8895.
------------------------------------

      Assignee: francis Upton  (was: Kohsuke Kawaguchi)
    Resolution: Duplicate

Taken case of by JENKINS-5867
                
> Enable to setup and launch slave under non-root privilege.
> ----------------------------------------------------------
>
>                 Key: JENKINS-8895
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-8895
>             Project: Jenkins
>          Issue Type: Patch
>          Components: ec2
>            Reporter: Masaki Muranaka
>            Assignee: francis Upton
>         Attachments: 
> 0001-Enable-to-setup-and-launch-under-non-root-priviledge.patch
>
>
> In current code, we must grant remote login by root. And slave daemon is run 
> under root.
> But we can't remote login by root in recent versions of Amazon's AMIs. As 
> root login and daemons run under root are not safe, you know.
> My patch is enables to run setup and spawn slave under non-root account like 
> ec2-user, hudson, jenkins, ...
> Still some commands needs root privilege, so you must install sudo into AMI. 
> Some cases you may have to edit /etc/sudoers file.
> {code:title=the part of /etc/sudoers}
> ec2-user ALL = NOPASSWD: ALL
> jenkins ALL = NOPASSWD: ALL
> {code}
> They are already setup if you use Amazon's standard AMI and you login with 
> ec2-user account.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to