From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 21:12:48 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0DD7939; Fri, 12 Sep 2014 21:12:48 +0000 (UTC) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 14304A5D; Fri, 12 Sep 2014 21:12:47 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id p9so1567280lbv.24 for ; Fri, 12 Sep 2014 14:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=BiwI8bxe6j61m6FQOT3xUVmkSeuyObqT4KvRoM4xEV0=; b=Xm+Yy5AYmw+G27Ixvgkqi1xuzk0A7I2I2Am0uEQv5/6fF3R1DjGzvEkwTWrdG3UYnI MUTKEN2uM+lhmamS17BuatBGH3V1CFHqVE1eikBGl5xuPKiaoIRWmx+uD6AQu0WuAzxs 6Ht2cvalrr9wJ+lNe0MVRYyyDfxllUEDUdE91z8DILkKRfJBnP9qpmFzG2u6ApZDVD68 aTlRnJfYe6BCQpUBSHtpPjkA7Oc9N6jv0RrQBF3XJtM40GkVJ7QwUWrLJItILRkhXEl2 b+o+oKP3CWeQZ1/XOE0KhA9TEt8KQOVyEHcfaALkm9Ae+PyxpqOWmw19AHUpY6irqyFD LiSg== MIME-Version: 1.0 X-Received: by 10.152.115.195 with SMTP id jq3mr6236387lab.90.1410556365871; Fri, 12 Sep 2014 14:12:45 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.22.72 with HTTP; Fri, 12 Sep 2014 14:12:45 -0700 (PDT) Date: Fri, 12 Sep 2014 14:12:45 -0700 X-Google-Sender-Auth: TLYlDFDg3WuV0mS2IAteV2MTzv0 Message-ID: Subject: shells/bash port, add a knob which symlinks to /bin/bash ? From: Craig Rodrigues To: ports , Emanuel Haupt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 21:12:49 -0000 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