I was recently placed in charge of 2 AIX servers. The one in question had an odd occurrence happen.
I wanted to remove/inactivate user accounts on a 4.3.2 F50 AIX system.
I grabbed a list of user names and cat them to a file. /home/userlist
I REMOVED the user names from my newly created file that I did not want removed. [root, daemon, myusername etc etc…]
I ran a simple script with the rmuser -p option ON THE FILE. Not in the wild. The rmuser -p command was enclosed in the script.
Shortly thereafter I was unable to su to root and I found once I arrived at work today that the root entry in /etc/passwd was gone.
Now I do have some years of Unix experience but I certainly don't know everything.
I don't really expect an answer as to why? But more to the point I'd like a How to…get root back.
My account is active as are 3 others but none of them have admin rights nor can they su…even if they could I doubt it would happen since root is gone.
I have 4.3.3 software but not 4.3.2 Should I/Could I be able to get to the systems tools via boot up? With a 4.3.3 cd? Currently it's not really an option to load the 4.3.3 software on the F50…and heh…that’s another question…does anyone thing running 4.3.3 on a circa 1999 F50 is a bad idea?
I wanted to remove/inactivate user accounts on a 4.3.2 F50 AIX system.
I grabbed a list of user names and cat them to a file. /home/userlist
I REMOVED the user names from my newly created file that I did not want removed. [root, daemon, myusername etc etc…]
I ran a simple script with the rmuser -p option ON THE FILE. Not in the wild. The rmuser -p command was enclosed in the script.
Shortly thereafter I was unable to su to root and I found once I arrived at work today that the root entry in /etc/passwd was gone.
Now I do have some years of Unix experience but I certainly don't know everything.
I don't really expect an answer as to why? But more to the point I'd like a How to…get root back.
My account is active as are 3 others but none of them have admin rights nor can they su…even if they could I doubt it would happen since root is gone.
I have 4.3.3 software but not 4.3.2 Should I/Could I be able to get to the systems tools via boot up? With a 4.3.3 cd? Currently it's not really an option to load the 4.3.3 software on the F50…and heh…that’s another question…does anyone thing running 4.3.3 on a circa 1999 F50 is a bad idea?