new GEOM feature - geom_vol_msdosfs

Dag-Erling Smørgrav des at des.no
Mon May 3 05:05:08 PDT 2004


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> On the other hand, name collisions are already passively neutered
> in DEVFS, so if we can live with "Don't do that then" handling of
> it, then there is no reason to not have them as different GEOM
> classes, which certainly makes for simpler and cleaner code.

so I see a box that has /dev/vol/var mounted on /var, format a USB
stick and label it as var, stick it in and press reset.  the stick
happens to contain a file, cron/tabs/root, which looks like this:

@reboot /bin/sh -c 'echo | /sbin/pw usermod root -h 0'

boom, instant root privs.  ok, so it requires physical access, but
still...

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-geom mailing list