Unix Technical Forum

root password recovery AIX 5.1 - special case

This is a discussion on root password recovery AIX 5.1 - special case within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello *, I have a problem: forgotten password on one of RS6000 machines with AIX 5.1 inside. Unortunately standard ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 09:11 AM
p_cichon@op.pl
 
Posts: n/a
Default root password recovery AIX 5.1 - special case

Hello *,

I have a problem: forgotten password on one of RS6000 machines with AIX
5.1 inside.
Unortunately standard procedure of recovery with installation CD is
useless, because one of hdisks has failed and it is not possible to
mount rootvg during one of steps of standard recovery procedure.

The system is booting up with errors during some partitions mounting.
However it possible to logon as a normal user (staff group).

I have also tried to run some exploits...
Unfotunatelly I haven't found nothing against maitenace level: 06...
OS reinstallation is not a option since there are some apps there and I
don't have installation media for them...

How else can I recover the password?

Please help,

Peter

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 09:11 AM
Frank Rizzo
 
Posts: n/a
Default Re: root password recovery AIX 5.1 - special case

if your primary disk has failed then I am not sure how your logging as
a normal user. If your getting this far you should be able to boot off
a cd and change it.

Can you put the disk in another system?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 09:11 AM
caseyjbrotherton@gmail.com
 
Posts: n/a
Default Re: root password recovery AIX 5.1 - special case

I agree with Frank, I am not understanding your situation....

If you can get into the system, then it seems like you should be able
to edit
the /etc/passwd or /etc/security/passwd.

When you are booting from CD, there are two options for mounting the
rootvg:
CHoose the one that does not mount the filesstems.
Then hand mount them, and manipulate the password files.

As to "breaking" in. Use your knowledge of the system, not the OS.

Have you installed sudo?
Do you have any security looseness in any of the sudoers settings
(granting any one
of these programs will provide a security hole:
vi,cat, more, mv, etc...Which should be a warning to anyone who is
unfamiliar
with the beauty, and complexity of setting up a correct sudoers file
)

Do you have any of the applications that you have installed have set
uid root
functions somewhere in them?

--Casey

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 09:11 AM
praveen
 
Posts: n/a
Default Re: root password recovery AIX 5.1 - special case

If you have rsh configured with other systems for root user . That
would ease a lot of work

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:01 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com