Re: chroot(2) by a user.

2005-05-08 Thread Shachar Shemesh
Alex Behar wrote: Good morning Amos, LD_DEBUG (as of early glibc 2.3 versions IIRC), LD_LIBRARY_PATH and LD_PRELOAD do not work on SUID binaries, unless you are root. Further more, there are ways to achieve the goal Shaul needs by using capabilities(7). I would recommand a very small hack for chr

Re: chroot(2) by a user.

2005-05-08 Thread Gilad Ben-Yossef
Alex, Alex Behar wrote: > Also, Gilad, a binary will keep its permissions and attributes if copied > while > root and by using the "-a" flag to cp, consult the man pages for more > details. Of coruse it does! you've missed the entire point of my post - *non-root* users don't get to keep sui

Re: Why does this not compile?

2005-05-08 Thread Amos Shapira
On 09 May 2005 08:15:10 +, Oleg Goldshmidt <[EMAIL PROTECTED]> wrote: > I have a suggestion. If you post your question to > comp.lang.c++.moderated or to an appropriate gcc forum someone there > will explain what happens, and probably quote the Standard to > you. I'll be happy to learn what the

Re: Why does this not compile?

2005-05-08 Thread Shachar Shemesh
Oleg Goldshmidt wrote: Shachar, I don't understand this statement. I suspect that you have a different mental picture of "undefined behavior". The official "definition of undefined behavior" is that *anything* may happen. No. The official definition of "undefined behavior" is that the behavi

Re: chroot(2) by a user.

2005-05-08 Thread Alex Behar
Good morning Amos, LD_DEBUG (as of early glibc 2.3 versions IIRC), LD_LIBRARY_PATH and LD_PRELOAD do not work on SUID binaries, unless you are root. Further more, there are ways to achieve the goal Shaul needs by using capabilities(7). I would recommand a very small hack for chrooting dynamic exe

Re: Why does this not compile?

2005-05-08 Thread Oleg Goldshmidt
Shachar, Shachar Shemesh <[EMAIL PROTECTED]> writes: > Let's get one thing clear. NOTHING results in undefined behavior. If > anything resulted in undefined behavior, it would have been impossible > to pass it between caller and callee. I don't understand this statement. I suspect that you hav

Re: Moving to Linux

2005-05-08 Thread Shlomi Fish
On Monday 09 May 2005 05:21, Amos Shapira wrote: > On 5/9/05, Shlomi Fish <[EMAIL PROTECTED]> wrote: > > On Sunday 08 May 2005 15:40, you wrote: > > > Other Linux benefits that I thought of is that since Linux is open > > > source, all applications he will probably need are handy for download; > >

Re: Moving to Linux

2005-05-08 Thread Amos Shapira
On 5/9/05, Shlomi Fish <[EMAIL PROTECTED]> wrote: > On Sunday 08 May 2005 15:40, you wrote: > > Hello, > > > > I tried to convince somebody I know to move to Linux at home and > > at work. I am myself an advocate user of Linux at work and at home. > > > > He works with a XP at work (a

Re: Moving to Linux

2005-05-08 Thread Amos Shapira
On 5/9/05, Dan Kaspi <[EMAIL PROTECTED]> wrote: > Hi, > >I can easily update all of my software with the latest security updates. > > Well , if I am not wrong this is only specific to Debian. (BTW : I don't > know Debian : > I want to take advantage of this opportunity and ask : does > only non-s

Re: Why does this not compile?

2005-05-08 Thread Shachar Shemesh
Oleg Goldshmidt wrote: Shachar Shemesh <[EMAIL PROTECTED]> writes: I'm encountering a strange problem, and would like to hear the list's ideas on why that would be. The following C++ program: #include class test { public: virtual ~test(); }; void func( const test ¶m, ... ) { va_list

RE: Moving to Linux

2005-05-08 Thread El-al, Netta
how about not having to reboot every few days. for me, uptime is one of the biggest advantages of linux, and nowadays, i'm not the only one who leaves my home computer on 24/7. On Sunday 08 May 2005 15:40, you wrote: > Are there other Linux benefits which I can pose for moving to Linux ? > (exce

Re: Moving to Linux

2005-05-08 Thread Yosef Meller
Tzafrir Cohen wrote: > On Sun, May 08, 2005 at 06:16:54PM +0300, Yosef Meller wrote: > >>As an example to why linux is more sucure, see the latest flaw in >>Firefox: it allows an attacker to create a file on your machine. This >>could be used to create a batch file on windows, or a shell script in

RE: [ barely On-Topic ] Job Offer - Network Engineer

2005-05-08 Thread Jonathan Ben Avraham
Age-ist also. apparently no one over 30 (Shachar, Marc, Ira, Eli Marmor, yba, etc...) need apply... But hey Netta, cut the fellow a little slack, he was attempting to sound cool, "in", "with it", etc. He never expected the abuse that he received from us and he doesn't deserve it. He was offerin

RE: [ barely On-Topic ] Job Offer - Network Engineer

2005-05-08 Thread El-al, Netta
i guess it's a men-only company... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nitzan Sent: Thu, May 05, 2005 10:36 PM To: linux-il@linux.org.il Subject: [ barely On-Topic ] Job Offer - Network Engineer [snip] So if you are a young dude, bored with all

Re: Moving to Linux

2005-05-08 Thread Tzafrir Cohen
On Sun, May 08, 2005 at 06:16:54PM +0300, Yosef Meller wrote: > > As an example to why linux is more sucure, see the latest flaw in > Firefox: it allows an attacker to create a file on your machine. This > could be used to create a batch file on windows, or a shell script in > Linux; however, on L

Re: Moving to Linux

2005-05-08 Thread Yosef Meller
As an example to why linux is more sucure, see the latest flaw in Firefox: it allows an attacker to create a file on your machine. This could be used to create a batch file on windows, or a shell script in Linux; however, on Linux shell scripts (or any other file) are not executable by default, yo

Re: Moving to Linux

2005-05-08 Thread shimi
--=-W1SDTauwu9aD0oKgCaEm Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sun, 2005-05-08 at 15:40 +0300, Dan Kaspi wrote: > Hello, > > I tried to convince somebody I know to move to Linux at home and > at work. I am myself an advocate user of Linux at work and at home. > >

Re: Moving to Linux

2005-05-08 Thread Shlomi Fish
On Sunday 08 May 2005 15:40, you wrote: > Hello, > > I tried to convince somebody I know to move to Linux at home and > at work. I am myself an advocate user of Linux at work and at home. > > He works with a XP at work (a hightech company; however , he is > not a programmer) ,an

Re: Moving to Linux

2005-05-08 Thread Tzafrir Cohen
On Sun, May 08, 2005 at 05:28:38PM +0300, Dan Kaspi wrote: > Hi, > >I can easily update all of my software with the latest security updates. > > Well , if I am not wrong this is only specific to Debian. (BTW : I don't > know Debian : > I want to take advantage of this opportunity and ask : does

Re: Moving to Linux

2005-05-08 Thread Dan Kaspi
Hi, I can easily update all of my software with the latest security updates. Well , if I am not wrong this is only specific to Debian. (BTW : I don't know Debian : I want to take advantage of this opportunity and ask : does only non-stable Debian have this feature or also the stable Debian?) And

Re: Why does this not compile?

2005-05-08 Thread Oleg Goldshmidt
Shachar Shemesh <[EMAIL PROTECTED]> writes: > I'm encountering a strange problem, and would like to hear the list's > ideas on why that would be. The following C++ program: > > > #include > > > > class test { > > public: > > virtual ~test(); > > }; > > > > void func( const test ¶m, ... ) > >

Re: Moving to Linux

2005-05-08 Thread Josh Zlatin-Amishav
On Sun, 8 May 2005, Tzafrir Cohen wrote: On Sun, May 08, 2005 at 04:20:22PM +0300, Josh Zlatin-Amishav wrote: On Sun, 8 May 2005, Dan Kaspi wrote: When listing the main advantages of Linux , the most important one I had thought of was security ; when you access the internet from a Linux m

Re: Moving to Linux

2005-05-08 Thread Tzafrir Cohen
On Sun, May 08, 2005 at 04:20:22PM +0300, Josh Zlatin-Amishav wrote: > On Sun, 8 May 2005, Dan Kaspi wrote: > > When listing the main advantages of Linux , the most important one > >I had thought of was security ; when you access the internet from a Linux > >machine, chances that you get a vi

Re: Why does this not compile?

2005-05-08 Thread Hetz Ben Hamo
What Compiler version? Hetz On 5/8/05, Shachar Shemesh <[EMAIL PROTECTED]> wrote: > I'm encountering a strange problem, and would like to hear the list's > ideas on why that would be. The following C++ program: > > > #include > > > > class test { > > public: > > virtual ~test(); > > }; > >

Re: Why does this not compile?

2005-05-08 Thread Shachar Shemesh
Shachar Shemesh wrote: I'm going to mark that off as a compiler bug and ignore it. Shachar Answering my own posts today. g++ 3.4 does not suffer from this problem. I guess it really was a compiler bug. Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd. Have you backed

Re: Moving to Linux

2005-05-08 Thread Josh Zlatin-Amishav
On Sun, 8 May 2005, Dan Kaspi wrote: Hello, I tried to convince somebody I know to move to Linux at home and at work. I am myself an advocate user of Linux at work and at home. He works with a XP at work (a hightech company; however , he is not a programmer) ,and also XP at

Re: Why does this not compile?

2005-05-08 Thread Shachar Shemesh
Shachar Shemesh wrote: Even stranger is the second warning. If "param" is not the last named argument, what is? Shachar Ok, just so that I make sure that I'm not talking utter nonsense, I made that into a complete program and tested. As expected, the compiler's grim predictions of run

Why does this not compile?

2005-05-08 Thread Shachar Shemesh
I'm encountering a strange problem, and would like to hear the list's ideas on why that would be. The following C++ program: #include class test { public: virtual ~test(); }; void func( const test ¶m, ... ) { va_list arg; va_start( arg, param ); } When trying to compile, I get the fo

Moving to Linux

2005-05-08 Thread Dan Kaspi
Hello, I tried to convince somebody I know to move to Linux at home and at work. I am myself an advocate user of Linux at work and at home. He works with a XP at work (a hightech company; however , he is not a programmer) ,and also XP at home. When listing the main advant

Job Tracker Now Has an RSS Feed

2005-05-08 Thread Shlomi Fish
The Linux-IL Jobs Tracker (http://www.iglu.org.il/jobs/) now has an RSS Feed: http://www.iglu.org.il/jobs/index.rss I set it up because even I forgot to periodically check the job tracker for new entries, and I figured most other people would as well. Now you can subscribe to the feed, and rece

Re: chroot(2) by a user.

2005-05-08 Thread Gilad Ben-Yossef
Shaul Karl wrote: Can you give more details about what you wrote? Shaul Karl wrote: On my Debian machine only root is permitted to chroot(2). What are the cons for having a regular user chroot? Are there any patches floating around to change that? If there exists any dynamically linked SUID