Amanda-Users

Re: How to restore correct ownerships?

2004-11-22 11:31:14
Subject: Re: How to restore correct ownerships?
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Mon, 22 Nov 2004 11:26:51 -0500
On Monday 22 November 2004 10:50, Jon LaBadie wrote:
>On Mon, Nov 22, 2004 at 09:54:53AM +0100, Thorsten Bremer wrote:
>> Moin Jon,
>>
>> > The difference is that the backup programs are likely to
>> > run unattended, or by an operator and the result is a collection
>> > or archive of all the files, possibly on tape.  To get root
>> > privlege during backup, certain programs are "setuid'ed" to
>> > root.  Thus they can, and should be run by the backup user
>> > despite needing root privlege for certain operations.
>>
>> Yes, I know that Amanda setuid'ed himself to run some tasks with
>> higher privileges. But why he didn't setuid also while restore
>> short before the chown?
>
>It would give anyone who could run the restore, i.e. the amanda
> user, the ability to recover and/or replace any file on the system.
>  That task is typically given only to root.
>
>> > For a few months, until my game was discovered, my bill dropped
>> > to about $300/month.
>>
>> Yes, I know such playing with quota. In the beginning of my
>> CS-studies our quota-software could'nt count the quota when moving
>> files to another harddisk. So another student on a different disk
>> installs a directory for another one. And after that, you could
>> get space only limited by the space of the other disk(s) :-)
>
>Hadn't heard that one before.
>
>> But: Paying for disk-space as you? How long is this away? :-))
>
>30 years ago, when a single disk drive came in a cabinet the size
>of a washing machine.  And just a little more recent that that,
>when I started doing some admin, I budgeted $10,000 for a 300 MB
> drive!! Times have changed!

Yup, succumbing to nostalgia for a paragraph, I recall with some 
distaste my attempts to make one of a pair of 14" Dynax drives in an 
old TI mainframe work reliably in the winter of 77-78 at KRCR-TV.  
The bottom one was fairly dependable, but the top one would go into 
safe park at the execution of a simple seek.  Voice coil driven, the 
voice coils were about 4" in diameter and 6" long.  They used an 
optically striped tape and photocells in quatrature timeings to 
determine where it was at.  Recalibration, if you had everything 
handy, was about a 6 hour job.  After I did it the 5th or 6th time, 
with no improvement in its dependability, I told management to sue 
them.  As we'ed already burnt 40+ hours on the phone to tech support 
then, I think the threat must have been enough, they sent somebody in 
with a new drive which worked.  I was out doing something else so I 
missed all the fun.  By design...

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.29% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

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