Date: Thu, 16 Dec 2021 16:32:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260476] sysutils/amazon-ssm-agent Set PATH for SSM interactive sessions Message-ID: <bug-260476-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260476 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=3D${PATH}:/usr/local/sbin:/usr/local/bin:/home/ssm-user/bin --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260476-7788>