Re: System permissions fix utility

From: Williamson, Alan (alan.williamson@SIEMENS.COM)
Date: Wed Oct 29 2003 - 05:23:43 EST


Actually in AIX 5.2 there is a an option to restore some or all of the
metadata but NOT the file contents. Used to fix this very scenario.

I believe it is restore -Pa to restore permissions.

Not sure whether this is in 5.1 though.

Alan

> -----Original Message-----
> From: Green, Simon [mailto:Simon.Green@EU.ALTRIA.COM]
> Sent: 29 October 2003 09:55
> To: aix-l@Princeton.EDU
> Subject: Re: System permissions fix utility
>
>
> There's nothing built in to AIX that'll do it. What are you
> using on your
> other UNIXs?
>
> Several people have come up with their own tools to do it but
> all of these
> rely on taking a snap-shot of the "good" system in advance.
>
> Do you know what command was run that messed things up? If
> so, you ought to
> be able to determine those files which might have been
> affected and check
> them on another, good system.
>
> Otherwise, you could be looking at a restore.
>
> Simon Green
> Altria ITSC Europe Ltd
>
> AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
>
> AIX FAQ at http://www.faqs.org/faqs/aix-faq/
>
> N.B. Unsolicited email from vendors will not be appreciated.
> Please post all follow-ups to the list.
>
> > -----Original Message-----
> > From: Randy Styka [mailto:comp-sun!aix-list@COMPGATE.COMPUTRON.COM]
> > Sent: 28 October 2003 19:04
> > To: aix-l@Princeton.EDU
> > Subject: System permissions fix utility
> >
> >
> > Hi!
> >
> > Through a stupid typo, we managed to mess up permissions on files
> > all over the system. We've put them back so the system is running
> > fine, but we'd like to restore them to their proper settings.
> >
> > On many of our other Unix boxes, there is a utility that checks
> > and repairs the permissions on system files. I can't find a similar
> > utility for this AIX box (aix 5.1). Is there such a command???
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:19 EDT