Ludovic Courtès writes: > Heya, > > Marius Bakke skribis: > >> * gnu/system/shadow.scm (default-skeletons): Instead of testing for >> $SSH_CLIENT, check whether '$-' includes the letter 'i'. > > That’s an improvement indeed, LGTM! I realized this will source /etc/profile twice when bash is invoked as 'bash -l -c foo', which isn't great. It also assumes /etc/profile exists at all, which might not hold true e.g. in a container. The main motivation for this commit is to make things like 'git-receive-pack', 'rsync' etc work out-of-the-box when installed in a user profile. The test for `cat` was ineffective on OpenSSH since it has a default PATH set to "/run/current-system/profile/bin". I've tested adding ~/.guix-profile/bin to the compiled-in default OpenSSH PATH instead, and it works. WDYT of this series?