Date: Fri, 12 Sep 2014 14:12:45 -0700 From: Craig Rodrigues <rodrigc@freebsd.org> To: ports <freebsd-ports@freebsd.org>, Emanuel Haupt <ehaupt@freebsd.org> Cc: freebsd-current Current <freebsd-current@freebsd.org> Subject: shells/bash port, add a knob which symlinks to /bin/bash ? Message-ID: <CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, In the last 3 jobs that I have worked at, there have been a mix of Linux machines and FreeBSD machines. When using an NIS or LDAP environment where there is a single login across multiple machines, it is useful to have a single shell setting. Since Linux and MacOS X have "/bin/bash" as the shell, in order to get the FreeBSD boxes to play in this environment, I have seen admins do the following on FreeBSD setups: ln -s /usr/local/bin/bash /bin/bash or ln /usr/local/bin/bash /bin/bash and then make sure that /etc/shells as: /usr/local/bin/bash /bin/bash Can we add an optional knob (turned off by default) which creates this symlink and updates /etc/shells? This would help with interoperability of FreeBSD hosts in environments mixed with Linux and MacOS X. -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg>