From owner-freebsd-current Sun Aug 12 2:33: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by hub.freebsd.org (Postfix) with SMTP id 326EF37B408 for ; Sun, 12 Aug 2001 02:32:59 -0700 (PDT) (envelope-from kc5vdj@yahoo.com) Received: from mkc-65-28-47-209.kc.rr.com (HELO yahoo.com) (65.28.47.209) by smtp.mail.vip.sc5.yahoo.com with SMTP; 12 Aug 2001 09:32:58 -0000 X-Apparently-From: Message-ID: <3B764D47.6060902@yahoo.com> Date: Sun, 12 Aug 2001 04:32:55 -0500 From: Jim Bryant Reply-To: kc5vdj@yahoo.com User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Wes Peters Cc: Jason Vervlied , freebsd-current@freebsd.org Subject: Re: bash in /usr/local/bin? References: <3B74D180.D036D629@hway.net> <3B75D33D.68368F22@softweyr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG IMHO, all widely accepted shells should be put in /bin If not /bin, then somewhere on the ROOT partition. Maybe a new root-partition bin directory.. I submit /lbin for the sake of discussion. /bin for basic user binaries, /sbin for system daemons and system binaries, /lbin for "local" binaries. -static should be a prerequisite. Sun has recently adopted this strategy and put all third party shells in /bin [symlink->/usr/bin], and it makes perfect sense, now if they can get rid of the old SysV crap of /sbin/sh being REQUIRED to be root's shell under Solaris... FreeBSD should go in this direction as well. This allows administrators to be able to get the shell of their choice WITHOUT having to mount additional partitions in a single-user-mode scenario, which in a lot of cases is being used to fix some kind of inconsistancy with the system, all the more reason to do so in -current. An administrator should have easy access to the basic tools he needs to get the system running, and all on the root partition. If some admins prefer csh, some tcsh, some ksh, some bash, there are even maschists that prefer just plain sh, then let them have it by default... Shells are basic tools, and any given admin will be more proficient in one than the other. I like tcsh, Jason likes bash, my buddy at work knows ksh... I personally abhor bash, but Jason has a good point. Jus' my two cents... Wes Peters wrote: > Jason Vervlied wrote: > >>Is there a reason why the bash shell is kept in /usr/local/bin. >> > > Because bash is not 'part of FreeBSD', it is an add-on. > > >>I would >>personally prefer to use it for my root shell, but if I remember right, >>root needs to have something that is in /bin (I could be wrong). If I do >>need a shell located in /bin for root would it break anything if I moved >>bash from /usr/local/bin to /bin (yes I know I woudl have to update >>/etc/shells)? >> > > Yes, unless you compile bash as a static executable. I just add a > rootb account that has bash as its shell and use that for day-to-day > work, keeping the root account as shipped by the vendor on every > system. This has the advantage of giving me a root account with a > consistent shell on any system type, without screwing up the vendor > root account. jim -- ET has one helluva sense of humor! He's always anal-probing right-wing schizos! _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message