On Wed, 2007-08-15 at 15:08 +0200, Sven Joachim wrote:
> Drew Parsons <[EMAIL PROTECTED]> writes:
> 
> >
> > But I could imagine it being somewhat disconcerting if I were managing a
> > set of common machines, only to find some random user had, for
> > instance, changed the times for the next automatic filesystem checks by
> > invoking tune2fs -c.
> 
> How could a random user do this?  I just tried:
> 
> $ /sbin/tune2fs -c 10 /dev/hda3
> tune2fs 1.40.2 (12-Jul-2007)
> /sbin/tune2fs: Permission denied while trying to open /dev/hda3
> Couldn't find valid filesystem superblock.

Curious.  I was able to make a change like that freely.  I notice that
my account has been added to group 'disk', which is the group
for /dev/hda*.  I wonder if that's what gives me permission to change
the partitions.

Drew


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to