devfs
[Top] [All Lists]

Re: Default: insecure

To: Robert.Siemer@xxxxxx
Subject: Re: Default: insecure
From: Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2001 23:28:55 +0200 (CEST)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20010920223240K.siemer@panorama.hadiko.de> (message from Robert Siemer on Thu, 20 Sep 2001 22:32:40 +0200)
Organization: InformatiMago.
References: <200109201531.f8KFVbP02796@vindaloo.ras.ucalgary.ca> <20010920184715A.siemer@panorama.hadiko.de> <200109201702.f8KH2Lh03467@vindaloo.ras.ucalgary.ca> <20010920223240K.siemer@panorama.hadiko.de>
Reply-to: <pjb@xxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx

> From: Robert Siemer <Robert.Siemer@xxxxxx>
> [...]
> But how do you protect tape users from other users accessing their
> tape during backup (... or just before)?
> 
> 
> Regards,
>               Robert


What about using flock on the tape devices? Wouldn't this work?


On the other hand, if the tapes belong to their users, then the device
should  be  assigned  to  the  proper  owner as  soon  as  a  tape  is
(physically) mounted on  it. I don't know any mechanism  in unix to do
that other than "chown $USER $TAPEDEVICE" before mounting the tape.

The question is: How do you assign a tape device to a user?


-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------

<Prev in Thread] Current Thread [Next in Thread>