bash 3.01

Chris F.A. Johnson c.f.a.johnson-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sun Aug 22 22:22:17 UTC 2004


On Sun, 22 Aug 2004, Tom Legrady wrote:

> It is generally not a good idea to edit /etc/passwd with "any old editor" 
> .... if it is provided, us "vipw", which is a method for calling "vi" which 
> ensures the integrity of the file.

    Thankfully, vipw doesn't necessarily call vi; it calls whichever
    editor you have defined in the EDITOR variable.

> William Park wrote:
>
>> On Sun, Aug 22, 2004 at 10:21:55AM -0400, John Wildberger wrote:
>> 
>>> I downloaded and installed bash 3.01. The executable is now in 
>>> /usr/local/bash-3.1/bash
>>> The original bash 2.05b is in /bin/bash
>>> What do I have to do to invoke bash 3.01 when starting up the system?
>>> My system is Mandrake 10.

    You can copy /usr/local/bash-3.1/bash to /bin.

    You can make /bin/bash a link to /usr/local/bash-3.1/bash.

    Here are the versions of bash in my /bin (also a Mandrake 10
    system):

$ l /bin/*bash*
lrwxrwxrwx  1 root  root       6 Aug 13 18:03 /bin/bash -> bash3w
-rwxr-xr-x  1 root  root  616440 Jul  9 02:47 /bin/bash2.05b
-rwxr-xr-x  1 root  root  650112 Jul 27 16:37 /bin/bash3.0
-rwxrwxr-x  1 chris chris 696432 Aug 13 18:01 /bin/bash3.0w
lrwxrwxrwx  1 root  root       4 May 28 04:48 /bin/rbash -> bash

    Bash3.0w has William Park's enhancements.

>> For login, edit /etc/passwd.  For your rc.* boot script, edit #!...

-- 
 	Chris F.A. Johnson                      http://cfaj.freeshell.org
 	=================================================================
                 Everything in moderation -- including moderation
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list