|
AIX: Recovering A Lost Root Password On A P-Series LPAR, Using A NIM Server
(c) brokenribgolfer.com
Author:Mark Hopkins Email Date Published: 10.15.2005 Date Last Modified: 02.04.2026 (formatting) Ever had the need to reset your forgotten "root" password on an AIX server? Ever been frustrated by the lack of complete information on the subject? Well, stick around and we will walk you through one way (perhaps the best way) to recover from this problem. Background Assumptions Requirements Procedure Boot the LPAR in SWS (Service Mode) Boot Single-User Mode from the NIM Printing Background One day, while performing my normal administrative duties on UNIX servers, I found that I could not log into a server as the "root" user. So, after trying every possible password that we could think of, we found ourselves without "root" access. Hmmmmmm, I thought, what an unusual problem. Yeah right; in the crazy world of IT, this problem is more common than you might think. Well, after looking for information on the topic, we found what we needed on IBM's web site. However, as usual, the article presumed a certain level of knowledge, that fortunately we had. We realize that not everyone may not always have this knowledge, so once again we will elaborate. We also wanted to document this procedure for ourselves, in the event we had to perform this quickly in the future. Another good result of such documentation is that it can be used to train other UNIX systems administrators so that they can react quickly to this problem. Assumptions
For this article the assumptions might be a bit obvious. We assume that you have solid AIX experience
as well as pSeries LPAR and NIM (Network Installation Management) server experience. Certainly all of
this knowledge is necessary from conceptional standpoint is absolutely necessary.
Requirements Technical requirements are as follows:
|
|
Procedure
Now that we have laid the groundwork, let's get going with the actual steps. |
Prepare the NIM Server
Command(s)
|
|
Shutdown the LPAR
|
|
|
|
|
|
|
|
Boot the LPAR in SWS (Service Mode)
|
|
|
|
|
Boot Single-User Mode from the NIM
|
|
|
|
|
|
|
|
|
|
Reset the Password
|
|
|
|
|
|
|
|
Verify the Results
|
|
Conclusion
We have now thoroughly explained this process, probably more so than anyone else. Hopefully
we have solved your particular problem, but if not please feel free to drop us a line and we
will address it as time allows.
|
|
Printing
As it turns out, as we are busy working on the HTML/CSS/php/Java Script formatting of our articles,
pretty printing is not yet possible. We are working on it at a low priority.
|