How to reset root password?

Ask a Question related to AIX, Design and Development.

  1. #1

    Default How to reset root password?

    Guys,

    I would like to reset the root password on an AIX 4.3 version machine,
    because I do not know the password on this machine. Therefore I cannot log
    into it.

    Unfortunately, I do not have the AIX 4.3 CD to boot in service mode on this
    CD.

    The only I get is AIX 5.1, but it seems impossible for me to do the same
    kind of maintenance prcoedure, because it just falls into error (certainly
    not compatible if running a AIX 4.3 version on the machine).

    Is there any other solution than re-installing AIX 5.1 on this machine?

    Any help would be appreciated.

    Thank you.

    Marc.


    Marc Lefebvre Guest

  2. Similar Questions and Discussions

    1. Need to reset password
      For Contribute 3 under WIndows XP, my password is no longer accepted. How do I reset the password and, if necessary, the user ID?
    2. Reset CF 7 Password
      Hello, ColdFusion 7 was installed on a server by a former employee some time ago. I, as his replacement, need to access the Administrator's...
    3. reset password
      I forget my coldfusion server 6.1 administrator password. How can I get into it? Thank you jli@igi-usa.com
    4. password reset
      Be sure it is not a caps lock problem, and everything is spelt wright.It can work by resetting jumpers but this depends on your mother...
    5. I need to know how to reset my password
      I am the administrator of my computer and I have a probmlem that I forgot my password. The deal is that I dont have the Welcome screen that...
  3. #2

    Default Re: How to reset root password?

    "Marc Lefebvre" <lefebvrem@yahoo.com> wrote in message news:<vluj2d5i7hoq93@corp.supernews.com>...
    > Guys,
    >
    > I would like to reset the root password on an AIX 4.3 version machine,
    > because I do not know the password on this machine. Therefore I cannot log
    > into it.
    >
    > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode on this
    > CD.
    >
    > The only I get is AIX 5.1, but it seems impossible for me to do the same
    > kind of maintenance prcoedure, because it just falls into error (certainly
    > not compatible if running a AIX 4.3 version on the machine).
    >
    > Is there any other solution than re-installing AIX 5.1 on this machine?
    >
    > Any help would be appreciated.
    >
    > Thank you.
    >
    > Marc.
    I can only think of a couple of possibilities.
    1/ Is sudo installed ?
    2/ check /etc/passwd for other users that have a SUID of 0
    3/ look around for files owned by root with 777 permissions, use this
    to modify /etc/security/passwd. Same applies to any cron jobs that
    root runs
    4/ bludgeon to death the person who didn't document the root password
    (hope this isn't you).

    Henry
    snogfest hosebeast Guest

  4. #3

    Default Re: How to reset root password?

    Marc Lefebvre wrote:
    > Guys,
    >
    > I would like to reset the root password on an AIX 4.3 version machine,
    > because I do not know the password on this machine. Therefore I
    > cannot log into it.
    >
    > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode
    > on this CD.
    >
    > The only I get is AIX 5.1, but it seems impossible for me to do the
    > same kind of maintenance prcoedure, because it just falls into error
    > (certainly not compatible if running a AIX 4.3 version on the
    > machine).
    >
    > Is there any other solution than re-installing AIX 5.1 on this
    > machine?
    >
    > Any help would be appreciated.
    >
    > Thank you.
    >
    > Marc.
    Hi,

    A long time ago, i used this under AIX 3.2.5 and AIX 4.1.5, you can try !!!
    :

    - Boot in maintenance mode
    - open a shell
    - use "continue /dev/hdisk(x)" where (x) is your rootvg located
    - you are now in limited shell under root without passwd
    - change or suppress root pasword
    - reboot


    André Guest

  5. #4

    Default Re: How to reset root password?

    "snogfest hosebeast" <snogfest_hosebeast@yahoo.com> wrote in message
    news:2818e58d.0309101424.22c1155e@posting.google.c om...
    > "Marc Lefebvre" <lefebvrem@yahoo.com> wrote in message
    news:<vluj2d5i7hoq93@corp.supernews.com>...
    > > Guys,
    > >
    > > I would like to reset the root password on an AIX 4.3 version machine,
    > > because I do not know the password on this machine. Therefore I cannot
    log
    > > into it.
    > >
    > > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode on
    this
    > > CD.
    > >
    > > The only I get is AIX 5.1, but it seems impossible for me to do the same
    > > kind of maintenance prcoedure, because it just falls into error
    (certainly
    > > not compatible if running a AIX 4.3 version on the machine).
    > >
    > > Is there any other solution than re-installing AIX 5.1 on this machine?
    > >
    > > Any help would be appreciated.
    > >
    > > Thank you.
    > >
    > > Marc.
    >
    > I can only think of a couple of possibilities.
    > 1/ Is sudo installed ?
    > 2/ check /etc/passwd for other users that have a SUID of 0
    > 3/ look around for files owned by root with 777 permissions, use this
    > to modify /etc/security/passwd. Same applies to any cron jobs that
    > root runs
    > 4/ bludgeon to death the person who didn't document the root password
    > (hope this isn't you).
    >
    > Henry
    Make a mksysb tape, and boot from tape. After boot import rootvg from disk
    and change the passwd...

    Nenad


    Nenad Guest

  6. #5

    Default Re: How to reset root password?

    The question now is:

    How do you boot in maintenance mode if you do not get any CD to boot from?

    Marc.

    "André" <a.porruncini@free.fr> wrote in message
    news:3f602072$0$13290$626a54ce@news.free.fr...
    > Marc Lefebvre wrote:
    > > Guys,
    > >
    > > I would like to reset the root password on an AIX 4.3 version machine,
    > > because I do not know the password on this machine. Therefore I
    > > cannot log into it.
    > >
    > > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode
    > > on this CD.
    > >
    > > The only I get is AIX 5.1, but it seems impossible for me to do the
    > > same kind of maintenance prcoedure, because it just falls into error
    > > (certainly not compatible if running a AIX 4.3 version on the
    > > machine).
    > >
    > > Is there any other solution than re-installing AIX 5.1 on this
    > > machine?
    > >
    > > Any help would be appreciated.
    > >
    > > Thank you.
    > >
    > > Marc.
    >
    > Hi,
    >
    > A long time ago, i used this under AIX 3.2.5 and AIX 4.1.5, you can try
    !!!
    > :
    >
    > - Boot in maintenance mode
    > - open a shell
    > - use "continue /dev/hdisk(x)" where (x) is your rootvg located
    > - you are now in limited shell under root without passwd
    > - change or suppress root pasword
    > - reboot
    >
    >

    Marc Lefebvre Guest

  7. #6

    Default Re: How to reset root password?

    Nenad,

    A mksysb on a tape can only be made once you logged in, no?

    I do not know any of the passwords on this machine.

    Marc.

    "Nenad" <nskrijelj@yahoo.com> wrote in message
    news:bjp8nm$o49$1@balder.stud.idb.hist.no...
    > "snogfest hosebeast" <snogfest_hosebeast@yahoo.com> wrote in message
    > news:2818e58d.0309101424.22c1155e@posting.google.c om...
    > > "Marc Lefebvre" <lefebvrem@yahoo.com> wrote in message
    > news:<vluj2d5i7hoq93@corp.supernews.com>...
    > > > Guys,
    > > >
    > > > I would like to reset the root password on an AIX 4.3 version machine,
    > > > because I do not know the password on this machine. Therefore I cannot
    > log
    > > > into it.
    > > >
    > > > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode on
    > this
    > > > CD.
    > > >
    > > > The only I get is AIX 5.1, but it seems impossible for me to do the
    same
    > > > kind of maintenance prcoedure, because it just falls into error
    > (certainly
    > > > not compatible if running a AIX 4.3 version on the machine).
    > > >
    > > > Is there any other solution than re-installing AIX 5.1 on this
    machine?
    > > >
    > > > Any help would be appreciated.
    > > >
    > > > Thank you.
    > > >
    > > > Marc.
    > >
    > > I can only think of a couple of possibilities.
    > > 1/ Is sudo installed ?
    > > 2/ check /etc/passwd for other users that have a SUID of 0
    > > 3/ look around for files owned by root with 777 permissions, use this
    > > to modify /etc/security/passwd. Same applies to any cron jobs that
    > > root runs
    > > 4/ bludgeon to death the person who didn't document the root password
    > > (hope this isn't you).
    > >
    > > Henry
    >
    > Make a mksysb tape, and boot from tape. After boot import rootvg from disk
    > and change the passwd...
    >
    > Nenad
    >
    >

    Marc Lefebvre Guest

  8. #7

    Default Re: How to reset root password?

    How to do this?

    To check, you need to boot on a CD in maintenance mode. I have no CD
    available.

    Marc.

    "snogfest hosebeast" <snogfest_hosebeast@yahoo.com> wrote in message
    news:2818e58d.0309101424.22c1155e@posting.google.c om...
    > "Marc Lefebvre" <lefebvrem@yahoo.com> wrote in message
    news:<vluj2d5i7hoq93@corp.supernews.com>...
    > > Guys,
    > >
    > > I would like to reset the root password on an AIX 4.3 version machine,
    > > because I do not know the password on this machine. Therefore I cannot
    log
    > > into it.
    > >
    > > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode on
    this
    > > CD.
    > >
    > > The only I get is AIX 5.1, but it seems impossible for me to do the same
    > > kind of maintenance prcoedure, because it just falls into error
    (certainly
    > > not compatible if running a AIX 4.3 version on the machine).
    > >
    > > Is there any other solution than re-installing AIX 5.1 on this machine?
    > >
    > > Any help would be appreciated.
    > >
    > > Thank you.
    > >
    > > Marc.
    >
    > I can only think of a couple of possibilities.
    > 1/ Is sudo installed ?
    > 2/ check /etc/passwd for other users that have a SUID of 0
    > 3/ look around for files owned by root with 777 permissions, use this
    > to modify /etc/security/passwd. Same applies to any cron jobs that
    > root runs
    > 4/ bludgeon to death the person who didn't document the root password
    > (hope this isn't you).
    >
    > Henry

    Marc Lefebvre Guest

  9. #8

    Default Re: How to reset root password?

    Which RS6000 model have you ?


    Marc Lefebvre wrote:
    > The question now is:
    >
    > How do you boot in maintenance mode if you do not get any CD to boot
    > from?
    >
    > Marc.
    >
    > "André" <a.porruncini@free.fr> wrote in message
    > news:3f602072$0$13290$626a54ce@news.free.fr...
    >> Marc Lefebvre wrote:
    >>> Guys,
    >>>
    >>> I would like to reset the root password on an AIX 4.3 version
    >>> machine, because I do not know the password on this machine.
    >>> Therefore I cannot log into it.
    >>>
    >>> Unfortunately, I do not have the AIX 4.3 CD to boot in service mode
    >>> on this CD.
    >>>
    >>> The only I get is AIX 5.1, but it seems impossible for me to do the
    >>> same kind of maintenance prcoedure, because it just falls into error
    >>> (certainly not compatible if running a AIX 4.3 version on the
    >>> machine).
    >>>
    >>> Is there any other solution than re-installing AIX 5.1 on this
    >>> machine?
    >>>
    >>> Any help would be appreciated.
    >>>
    >>> Thank you.
    >>>
    >>> Marc.
    >>
    >> Hi,
    >>
    >> A long time ago, i used this under AIX 3.2.5 and AIX 4.1.5, you can
    >> try !!!
    >>>
    >>
    >> - Boot in maintenance mode
    >> - open a shell
    >> - use "continue /dev/hdisk(x)" where (x) is your rootvg located
    >> - you are now in limited shell under root without passwd
    >> - change or suppress root pasword
    >> - reboot

    André Guest

  10. #9

    Default Re: How to reset root password?

    "Marc Lefebvre" <lefebvrem@yahoo.com> wrote in message news:<vm0fkkmmdlit57@corp.supernews.com>...
    > The question now is:
    >
    > How do you boot in maintenance mode if you do not get any CD to boot from?
    >
    > Marc.
    >
    > "André" <a.porruncini@free.fr> wrote in message
    > news:3f602072$0$13290$626a54ce@news.free.fr...
    > > Marc Lefebvre wrote:
    > > > Guys,
    > > >
    > > > I would like to reset the root password on an AIX 4.3 version machine,
    > > > because I do not know the password on this machine. Therefore I
    > > > cannot log into it.
    > > >
    > > > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode
    > > > on this CD.
    > > >
    > > > The only I get is AIX 5.1, but it seems impossible for me to do the
    > > > same kind of maintenance prcoedure, because it just falls into error
    > > > (certainly not compatible if running a AIX 4.3 version on the
    > > > machine).
    > > >
    > > > Is there any other solution than re-installing AIX 5.1 on this
    > > > machine?
    > > >
    > > > Any help would be appreciated.
    > > >
    > > > Thank you.
    > > >
    > > > Marc.
    > >
    > > Hi,
    > >
    > > A long time ago, i used this under AIX 3.2.5 and AIX 4.1.5, you can try
    > !!!
    > > :
    > >
    > > - Boot in maintenance mode
    > > - open a shell
    > > - use "continue /dev/hdisk(x)" where (x) is your rootvg located
    > > - you are now in limited shell under root without passwd
    > > - change or suppress root pasword
    > > - reboot
    > >
    > >
    I am pretty sure you can still boot up with the aix5.1 cd.
    Then you can do the normal access root volume group before mounting
    filesystems, and remove the root passwd any number of normal ways.

    Including removing the asterik in /etc/passwd.

    When you are booted up, you can't do functions such as a clone mksysb
    install, it will fail at the end of that due to kernel differences,
    but booting into maint mode, and modifying fs's should work.

    Casey
    Casey J Brotherton Guest

  11. #10

    Default Re: How to reset root password?

    "Marc Lefebvre" <lefebvrem@yahoo.com> wrote in message
    news:vm0fmfocb39h62@corp.supernews.com...
    > Nenad,
    >
    > A mksysb on a tape can only be made once you logged in, no?
    >
    > I do not know any of the passwords on this machine.
    >
    > Marc.
    >
    > "Nenad" <nskrijelj@yahoo.com> wrote in message
    > news:bjp8nm$o49$1@balder.stud.idb.hist.no...
    > > "snogfest hosebeast" <snogfest_hosebeast@yahoo.com> wrote in message
    > > news:2818e58d.0309101424.22c1155e@posting.google.c om...
    > > > "Marc Lefebvre" <lefebvrem@yahoo.com> wrote in message
    > > news:<vluj2d5i7hoq93@corp.supernews.com>...
    > > > > Guys,
    > > > >
    > > > > I would like to reset the root password on an AIX 4.3 version
    machine,
    > > > > because I do not know the password on this machine. Therefore I
    cannot
    > > log
    > > > > into it.
    > > > >
    > > > > Unfortunately, I do not have the AIX 4.3 CD to boot in service mode
    on
    > > this
    > > > > CD.
    > > > >
    > > > > The only I get is AIX 5.1, but it seems impossible for me to do the
    > same
    > > > > kind of maintenance prcoedure, because it just falls into error
    > > (certainly
    > > > > not compatible if running a AIX 4.3 version on the machine).
    > > > >
    > > > > Is there any other solution than re-installing AIX 5.1 on this
    > machine?
    > > > >
    > > > > Any help would be appreciated.
    > > > >
    > > > > Thank you.
    > > > >
    > > > > Marc.
    > > >
    > > > I can only think of a couple of possibilities.
    > > > 1/ Is sudo installed ?
    > > > 2/ check /etc/passwd for other users that have a SUID of 0
    > > > 3/ look around for files owned by root with 777 permissions, use this
    > > > to modify /etc/security/passwd. Same applies to any cron jobs that
    > > > root runs
    > > > 4/ bludgeon to death the person who didn't document the root password
    > > > (hope this isn't you).
    > > >
    > > > Henry
    > >
    > > Make a mksysb tape, and boot from tape. After boot import rootvg from
    disk
    > > and change the passwd...
    > >
    > > Nenad
    > >
    > >
    >
    >
    You can make mksysb tape on another system.


    Nenad Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139