home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 29,628 of 29,919   
   Markus R. =?iso-8859-1?q?Ke=DFler?= to All   
   Re: Applying updates was Re: Shellshock    
   29 Sep 14 12:48:31   
   
   From: dimke.fax@uni.de   
      
   Markus R. Keßler wrote:   
      
   > just jump to   
   >   
   > ftp://ftp.gnu.org/gnu/bash/   
   >   
   > I used midnightcommander, mc to download because there are many patch   
   > files to download, and so I could just "mark" and copy what I needed.   
   >   
   > For the latest bash you need   
   >   
   > - bash-4.3.tar.gz   
   > - the whole bash-4.3-patches tree   
   >   
   > I created a working dir (/tmp/src), put both file and dir there,   
   > unpacked the tar.gz from there and jumped into /tmp/src/bash-4.3   
   >   
   > There I applied all patches:   
   >   
   > for i in `ls ../bash-4.3-patches/bash43-0??` ; do   
   >     echo "$i:" ; patch -p0 < $i ;   
   > done   
      
   >>>   
      
   Sorry, some lines missing --   
   the source has to be compiled, of course :-)   
      
   ./configure   
   make   
      
   <<<   
      
   >   
   > Then I replaced the bash currently in use with the new one. This was a   
   > little tricky:   
   >   
   > - /etc/passwd, entry for root: /bin/bash ==> /bin/dash   
   > - init 3 (kill X.11)   
   > - log off (from bash) and on (into dash) under root   
   > - verify with lsof | grep /bin/bash that not in use   
   > - replace /bin/bash with patched one (chown, chmod correctly)   
   > - undo /etc/passwd modification (dash ==> bash)   
   > - init 5   
   > - log off from dash, log on into bash   
   >   
   > Best regards,   
   >   
   > Markus   
   >   
      
   --   
   Please reply to group only.   
   For private email please use http://www.dipl-ing-kessler.de/email.htm   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca