[Bug 260476] sysutils/amazon-ssm-agent Set PATH for SSM interactive sessions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Dec 2021 16:32:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260476 Bug ID: 260476 Summary: sysutils/amazon-ssm-agent Set PATH for SSM interactive sessions Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: cperciva@FreeBSD.org Reporter: amendlik@gmail.com Flags: maintainer-feedback?(cperciva@FreeBSD.org) Assignee: cperciva@FreeBSD.org When using a shell session provided by SSM, the PATH variable only includes base system directories: /sbin:/bin:/usr/sbin:/usr/bin The path should also include: /usr/local/sbin:/usr/local/bin:/home/ssm-user/bin I have fixed this in my own environment by adding the following line to /usr/local/etc/rc.d/amazon-ssm-agent: export PATH=${PATH}:/usr/local/sbin:/usr/local/bin:/home/ssm-user/bin -- You are receiving this mail because: You are the assignee for the bug.