Re: weird /etc/fstab problem

2006-10-29 Thread Nick Guenther
On 10/29/06, Stuart Henderson <[EMAIL PROTECTED]> wrote: think about what you're saying here: if it's possible to remount (which it is), an attacker with mount(8) can defeat RO anyway (and of course they could mount a new /usr/bin or whatever over the top of the existing one). # mount -uw / # mo

Re: weird /etc/fstab problem

2006-10-29 Thread Tobias Weisserth
Hi, On Oct 29, 2006, at 12:27 PM, Stuart Henderson wrote: vi +/uw /etc/rc This is exactly what I was looking for. Thanks for the hint. I'll give it a try. regards, Tobias W.

Re: weird /etc/fstab problem

2006-10-29 Thread Stuart Henderson
On 2006/10/29 06:23, Nick Guenther wrote: > I other words: yes. The operation of mounting requires you to be able > to write to the filesystem you are mounting on to I admin a number of boxes that disprove this theory (-: > (at least, that's how my intuition tells me it should work; otherwise > a

Re: weird /etc/fstab problem

2006-10-29 Thread Stuart Henderson
On 2006/10/29 11:38, Tobias Weisserth wrote: > Why is / not mounted read-only? vi +/uw /etc/rc if you change this, you'll probably want writable /dev: you can include an mfs partition in /etc/fstab and use the -p option to copy the files if you like.

Re: weird /etc/fstab problem

2006-10-29 Thread Nick Guenther
On 10/29/06, Edgars <[EMAIL PROTECTED]> wrote: Tobias Weisserth wrote: > Hi everybody, > > I have setup an old Pentium with OpenBSD 3.9 to do some basic > filtering and NAT at my parents place after a Smoothwall installation > I did some two years ago got rooted recently. > > Everything works ju

Re: weird /etc/fstab problem

2006-10-29 Thread Edgars
Sorry, hangover, problems with reading and understanding :) Tobias Weisserth wrote: Hi everybody, I have setup an old Pentium with OpenBSD 3.9 to do some basic filtering and NAT at my parents place after a Smoothwall installation I did some two years ago got rooted recently. Everything work

Re: weird /etc/fstab problem

2006-10-29 Thread Edgars
/ is rw - read-write not ro Tobias Weisserth wrote: Hi everybody, I have setup an old Pentium with OpenBSD 3.9 to do some basic filtering and NAT at my parents place after a Smoothwall installation I did some two years ago got rooted recently. Everything works just fine, except I have a pr

weird /etc/fstab problem

2006-10-29 Thread Tobias Weisserth
Hi everybody, I have setup an old Pentium with OpenBSD 3.9 to do some basic filtering and NAT at my parents place after a Smoothwall installation I did some two years ago got rooted recently. Everything works just fine, except I have a problem with mounting partitions from /etc/fstab that