Cannot login into AIX machine. Forgot Password!


 
Thread Tools Search this Thread
Operating Systems AIX Cannot login into AIX machine. Forgot Password!
# 1  
Old 11-15-2011
Cannot login into AIX machine. Forgot Password!

Hi,

I cannot login to an AIX machine. The login mechanism was that we had disabled remote "root" logins.

We have only one user that can access over SSH and that is "userabc".

Probably have forgotten the password or it has expired. Is there a way to recover or login. I have the password for root but cant login through root. Please help Smilie


There is an AIX machine where we have implemented "Medium Level"security using AIXPERT utility provided within AIX.
# 2  
Old 11-15-2011
root pw should not expire

if you just can't login remote, but you think you know the password, login with your user and try
Code:
su - root

if the user is not allowed to do this, you may login over hmc or serial


you could also boot your system with an aix cd or from the nim -> maintenance shell diagnostics and select mount filesystems

Last edited by funksen; 11-16-2011 at 04:44 AM..
# 3  
Old 11-17-2011
Insert base CD:

select SMS mode>Select Boot Options>Select Install or Boot Device>CD/DVD>Service Mode Boot>Start Maintenance Mode for System Recovery>Access a root Volume Group>rootvg>Access this Volume Group and start a shell.

Code:
passwd

Changing password for "root" ( this will be shown out" )
key in new password, afterthat,
Code:
sync;sync;sync;reboot

Rebooting...
Use the password that you had reset.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

I have forgot my root password. Solaris 10

hi everyone i have forgot my root password and i have other user to login. can i get the password without restarting the server as that cant be afforded. . it is a Sparc architecture 2U blade server. it is old server mounted and functional since 2009. what should be the modus oprandee. i am novice... (5 Replies)
Discussion started by: janakors
5 Replies

2. Web Development

Forgot MYSQL password root

I have VPS openSUSE 12.2 I forgot MYSQL password root when i run in CMD: > mysql Error Message Show : >> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) (6 Replies)
Discussion started by: CloudniX
6 Replies

3. UNIX for Dummies Questions & Answers

Forgot root password

i am a new user of unix . i lost my SGI unix server root password Any body please help me,how get password? (2 Replies)
Discussion started by: vasu.k82
2 Replies

4. Shell Programming and Scripting

without password to login into remote machine- in the script ??

HI, I need to write a script .. when I run this script , will directly goto that remote machine without asking password.. Once it is entered, I needs to transfer some of the log files... how can I proceed ? (7 Replies)
Discussion started by: hegdeshashi
7 Replies

5. Solaris

forgot password

hello friends, I am currently using solaris 10. I have lost the root password. Can you please give me a step by step procedure on how to set the password again. (11 Replies)
Discussion started by: nsharath
11 Replies

6. UNIX for Dummies Questions & Answers

Please help with any free unix machine login password

Hi Can any one help me with unix box user name and password. I tried several free sites which provide free unix login, but there I can't use ksh. Thanks:) (5 Replies)
Discussion started by: itsjoy2u
5 Replies

7. UNIX for Dummies Questions & Answers

I forgot my UNIX password!!

Hello, Is there a way to reset the "root" unix password, pretty much like you would do in linux by going into single user mode? :confused: :confused: Thank you in advance. (5 Replies)
Discussion started by: Mr Big
5 Replies

8. UNIX for Advanced & Expert Users

Forgot the privileged access password in ibm pseries615c3

Hi friends, I am having ibm pseries615c3 server. previously i set privileged access password for the firmware. Now i forgot that password. Help me to reset or remove the firmware password from the server. Otherwise anyone plz help me how to change the default boot device in pseries servers. I... (8 Replies)
Discussion started by: muthulingaraja
8 Replies

9. HP-UX

forgot password

i forgot my password on a HP-UX 9.xx machine. is there a possible way of changing it without knowing the root passwd? I would do it with a boot disk and chroot but I dont have a boot disk available.... any ideas? thanks!! Paul Tittel (1 Reply)
Discussion started by: paultittel
1 Replies

10. Linux

forgot password red hat ?

Dear Forum savants, I have a problem that I am not sure how to overcome. Two years ago I had a friend build me computer with a linux os (red hat) for learning purposes. It happens to have an oracle server on it as well... Anyway , because of personal reasons, I lost complete interest in... (5 Replies)
Discussion started by: jxh461
5 Replies
Login or Register to Ask a Question