bug in LFS mailing list

2006-08-27 Thread Cruise X Overide
i think ive tried everything short of shooting evolution to get myself off this mailing list. please can someone unsubscribe me thanku -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

RE: Permission denied -- how to report a bug?

2006-08-27 Thread Brandon Peirce
I wrote: I couldn't enter a defect ticket in the LFS wiki using a login I used successfully once before. I guess this is not the right forum to deal with that issue, so what is? Sorry. Withdraw that question. Problem was with my ISP's proxy. Bypassed and now it works. B. -- http://linuxf

Permission denied -- how to report a bug?

2006-08-27 Thread Brandon Peirce
I couldn't enter a defect ticket in the LFS wiki using a login I used successfully once before. I guess this is not the right forum to deal with that issue, so what is? Thanks, Brandon. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.h

Re: upgrade of libc-2.3.3.so to libc-2.3.6.so problematic?

2006-08-27 Thread Brandon Peirce
Dan Nicholson wrote: So, you want to install into a temporary location. make install_root=/some/temp/location install Certainly, however you proceed after to upgrade your live system you want to start with the above. You don't want to leave this critical installation in the hands of the Makef

Re: upgrade of libc-2.3.3.so to libc-2.3.6.so problematic?

2006-08-27 Thread Brandon Peirce
Dan Nicholson wrote: So, you want to install into a temporary location. make install_root=/some/temp/location install Certainly, however you proceed after to upgrade your live system you want to start with the above. You don't want to leave this critical installation in the hands of the Makef

Re: Switching users in a bash script?

2006-08-27 Thread Brandon Peirce
[EMAIL PROTECTED] wrote: If you really want it fast, you can put almost everything into the main script and have the 'su' script just call 'make install'. I think you are assuming that compiling is done as lfs user and install is done as root. That is the normal case, but it's not like that f

Re: Switching users in a bash script?

2006-08-27 Thread Brandon Peirce
Luca Dionisi wrote: On 8/27/06, Angel Tsankov <[EMAIL PROTECTED]> wrote: Btw, how do I call a function in a bash script from another bash script? Try putting all your functions alone in a file, then source that file (man source) That's one possibility that definitely works. AFAIK if you 'e

Re: Switching users in a bash script?

2006-08-27 Thread Scott
On Sat, Aug 26, 2006 at 06:11:43PM -0700, [EMAIL PROTECTED] wrote: > Here's how you pipe commands. > > Throw an "exit" on the end of that, your root password on the front, giving: > START FILE > 123456 > ./configure --prefix=/usr > make > make install > exit > END FILE > > Then simply call: > ech

Re: Switching users in a bash script?

2006-08-27 Thread Luca Dionisi
On 8/27/06, Angel Tsankov <[EMAIL PROTECTED]> wrote: Btw, how do I call a function in a bash script from another bash script? Try putting all your functions alone in a file, then source that file (man source) HTH --Luca -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://

Re: Switching users in a bash script?

2006-08-27 Thread Angel Tsankov
Then simply call: echo build-package-name.txt | su An easier way, to me, is to be root to start off. Then you can switch to any user without worrying about passwords. su apache -c "./build-apache.sh" Yes, this is what I'm just goning to do... Btw, how do I call a function in a bash script f

Re: Switching users in a bash script?

2006-08-27 Thread Angel Tsankov
Then simply call: echo build-package-name.txt | su An easier way, to me, is to be root to start off. Then you can switch to any user without worrying about passwords. su apache -c "./build-apache.sh" Yes, this is what I'm just goning to do... -- http://linuxfromscratch.org/mailman/listinfo/l

Re: Switching users in a bash script?

2006-08-27 Thread Dan Nicholson
On 8/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Then simply call: echo build-package-name.txt | su An easier way, to me, is to be root to start off. Then you can switch to any user without worrying about passwords. su apache -c "./build-apache.sh" -- Dan -- http://linuxfromscratch.o

Re: Switching users in a bash script?

2006-08-27 Thread veritosproject
Root password is security risk... This is LFS. When you're done, you can shred the file and problem solved. Excellent! This is exactly what I was looking for. Thanks a lot! If you really want it fast, you can put almost everything into the main script and have the 'su' script just call 'm

Re: Switching users in a bash script?

2006-08-27 Thread Angel Tsankov
Here's how you pipe commands. First, let's say that this is the compilation instructions: START FILE ./configure --prefix=/usr make make install END FILE Throw an "exit" on the end of that, your root password on the front, giving: START FILE 123456 ./configure --prefix=/usr make make install exi

Re: Switching users in a bash script?

2006-08-27 Thread Shane Shields
On Sunday 27 August 2006 4:11 am, [EMAIL PROTECTED] wrote: > > Throw an "exit" on the end of that, your root password on the front, > giving: START FILE > 123456 > ./configure --prefix=/usr Putting your root password in a clear text file is a big security risk. I suggested sudo because of that ri