Have you tried adding "users" to your fstab?

On 8/15/05, Ralph Slooten <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hiya all,
> 
> Now I feel *really* stupid asking this, but for the life of me I cannot
> work it out. On two machines here at home I discovered that I can write
> as a particular normal user to the root partition (/). This also means I
> can rename /root to /root1 if I want (I just tried), and create / delete
> files on / too. The strange thing is this does not work for another
> account (wife's) on the same machine, which seems to have the same
> permissions. It's almost like / is getting mounted by user "axllent"
> here. Other partitions that get mounted do not work, just /
> 
> I have checked fstab:
> /dev/hda3    /     reiserfs    noatime       0 0
> 
> In /etc/lilo.conf (on one machine that uses it) I have:
> image=/boot/vmlinuz-2.6.11.10
>         label="2.6.11.10"
>         root=/dev/hda3
>         vga=791
>         read-only
> 
> the permissions of /dev/hda3 are:
> [EMAIL PROTECTED] ~ $ ll /dev/hda3
> lr-xr-xr-x  1 root root 33 Aug 15 18:55 /dev/hda3 ->
> ide/host0/bus0/target0/lun0/part3
> 
> [EMAIL PROTECTED] ~ $ ll /dev/ide/host0/bus0/target0/lun0/part3
> brw-------  1 root root 3, 3 Jan  1  1970
> /dev/ide/host0/bus0/target0/lun0/part3
> 
> My groups for this user on both machines are:
> wheel audio cdrom games cdrw usb users portage
> &
> wheel audio at usb users
> 
> My wife who cannot write to / has
> wheel audio games usb users
> 
> Using Reiserfs3.
> 
> Does anyone have any idea what's causing this, and possibly how I can
> make / read-only?
> 
> Greetings
> Ralph
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDAN6KCt0ZF9kLPvYRAueFAJ49kV9gKfRSPPPeVaOR+wexDHSBjACfXa5K
> pbfD7OBM9Aom2jO2rWFpxlo=
> =KeTJ
> -----END PGP SIGNATURE-----
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list

Reply via email to