On Thu, May 24, 2001 at 01:04:17PM -0400, Elliot Lee wrote: > On Thu, 24 May 2001, Ian Peters wrote: > > > Have you used fakeroot before? That's exactly what it does, and it > > seems to work fine. > > Attached is a program to let everyone edit /etc/passwd. > > cc -c t.S > ld -o t t.o > > The two problems with fakeroot for security are that it assumes everything > uses ld.so, and it assumes everything makes system calls by going through > the regular libc wrapper functions. You've demonstrated the problems with using fakeroot as a sandbox (which are obvious, and I should avoid writing mail when I just woke up), but I fail to see what your program is supposed to do. fakeroot doesn't run with root permissions, so bypassing the trapped functions just gives you an EPERM on the chmod and nothing happens. Am I missing something? I don't see how any user can edit /etc/passwd this way... -- Ian Peters "...it is 5 am and the sun has charred the other [EMAIL PROTECTED] side of the earth and come back to us and painted [EMAIL PROTECTED] the smoke over our heads an imperial violet..." _______________________________________________ Mc mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Tuomas Kuosmanen
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Zak McGregor
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Tuomas Kuosmanen
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Alexander Skwar
- RE: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Steve Homer
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Zak McGregor
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Ian McKellar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Ian Peters
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Dan Winship
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Tuomas Kuosmanen
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Alexander Skwar
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Miguel de Icaza
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. John Sullivan
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Ben Ford
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Elliot Lee
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Dan Winship
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Dan Winship
- Re: [PMH] Re: [Nautilus-list] Idea for Nautilus and GMC. Miguel de Icaza