public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel da Veiga <danieldaveiga@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] I (user) can write to / ... but why?
Date: Mon, 15 Aug 2005 16:12:30 -0300	[thread overview]
Message-ID: <342e10905081512127bf9c2be@mail.gmail.com> (raw)
In-Reply-To: <4300DE8A.2090205@gmail.com>

Have you tried adding "users" to your fstab?

On 8/15/05, Ralph Slooten <axllent@gmail.com> 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:
> axllent@workstation ~ $ ll /dev/hda3
> lr-xr-xr-x  1 root root 33 Aug 15 18:55 /dev/hda3 ->
> ide/host0/bus0/target0/lun0/part3
> 
> axllent@workstation ~ $ 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	other threads:[~2005-08-15 19:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 18:27 [gentoo-user] I (user) can write to / ... but why? Ralph Slooten
2005-08-15 19:12 ` Daniel da Veiga [this message]
2005-08-15 20:21   ` Christoph Gysin
2005-08-15 20:45     ` Neil Bothwick
2005-08-16  1:07       ` Nick Rout
2005-08-16  5:21         ` Ralph Slooten
2005-08-16  5:17       ` Ralph Slooten
2005-08-16  5:41         ` Dirk Heinrichs
2005-08-16  7:00           ` Ralph Slooten
2005-08-16  7:17             ` Dirk Heinrichs
2005-08-16 10:21               ` Michael Kintzios
2005-08-16  9:26             ` Nick Rout
2005-08-16  9:47               ` Frank Schafer
2005-08-16 13:33                 ` Ralph Slooten
2005-08-16  7:14       ` Christoph Gysin
2005-08-16  7:42         ` Neil Bothwick
2005-08-16 16:09 ` [gentoo-user] I (user) can write to / ... but why? (solved) Ralph Slooten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=342e10905081512127bf9c2be@mail.gmail.com \
    --to=danieldaveiga@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox