Re: AIX 5.3 disaster recovery fro AIX newbie

From: Kovetsky, Dmitry (Dmitry.Kovetsky_at_ENCANA.COM)
Date: 09/26/05

  • Next message: Justin Bleistein: "Re: AIX 5.3 disaster recovery fro AIX newbie"
    Date:         Mon, 26 Sep 2005 11:20:21 -0600
    To: aix-l@Princeton.EDU
    
    

    >are you in the server in maint mode?
    No.
    > how do you know the file is ZERO length?
    I know just because I cannot get in and examined the script it ran.
    Script would result 0 /etc/passwd file. Too late though.

            -----Original Message-----
            From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On
    Behalf Of Lindsey, James
            Sent: Monday, September 26, 2005 11:05 AM
            To: aix-l@Princeton.EDU
            Subject: Re: AIX 5.3 disaster recovery fro AIX newbie
            
            
            how do you know the file is ZERO length? are you in the server
    in maint mode?

                    -----Original Message-----
                    From: IBM AIX Discussion List
    [mailto:aix-l@Princeton.EDU]On Behalf Of Kovetsky, Dmitry
                    Sent: Monday, September 26, 2005 12:28 PM
                    To: aix-l@Princeton.EDU
                    Subject: AIX 5.3 disaster recovery fro AIX newbie
                    
                    

                    Good morning everyone
                    Now I've got a chance to practice AIX disaster recovery:
    one of the scripts smoked /etc/passwd file, to zero. Machine is
    micropartition, freshly installed but due to some reasons rebuild is not
    an option. Could you please advise how to I recover from this situation?
    (Way to boot to single user? Mount rootvg and restore passwd from other
    machine?)

                    Thanks in advance

                    Dmitry

            Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
    affiliate companies are not responsible for errors or omissions in this
    e-mail message. Any personal comments made in this e-mail do not reflect
    the views of Blue Cross Blue Shield of Florida, Inc. The information
    contained in this document may be confidential and intended solely for
    the use of the individual or entity to whom it is addressed. This
    document may contain material that is privileged or protected from
    disclosure under applicable law. If you are not the intended recipient
    or the individual responsible for delivering to the intended recipient,
    please (1) be advised that any use, dissemination, forwarding, or
    copying of this document IS STRICTLY PROHIBITED; and (2) notify sender
    immediately by telephone and destroy the document. THANK YOU.
            
            


  • Next message: Justin Bleistein: "Re: AIX 5.3 disaster recovery fro AIX newbie"

    Relevant Pages

    • Re: Trying to write strncpy() in ASM
      ... > possible to test all the bytes in a register for being zero at the same ... > into an integer register or the flags. ... > e-mail messages attached to it, ... If you are not the intended recipient, ...
      (comp.lang.asm.x86)
    • Re: intel x86 floating point power funtion in assembly?
      ... X close to zero or one? ... This e-mail transmission, and any documents, files or previous ... e-mail messages attached to it, ... If you are not the intended recipient, ...
      (comp.lang.asm.x86)
    • Re: Why must I chomp a variable set in a script?
      ... If they are of zero size, ... it is supposed to trigger the email program to notify the users. ... have to "chomp" the variable to get this to work? ... like the value was supplied from the command line, it is set in the script. ...
      (perl.beginners)
    • Re: problem with a file processing script
      ... but I am far from a script writer, and I recently run into a little ... if the file I am looking for is zero ... the $NEWNUM it's because the extension the third party software is ... print that $EQFILE existed but was empty ...
      (comp.unix.shell)
    • Re: problem with a file processing script
      ... but I am far from a script writer, and I recently run into a little ... if the file I am looking for is zero ... the $NEWNUM it's because the extension the third party software is ... print that $EQFILE existed but was empty ...
      (comp.unix.shell)