The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell script to find when user su'ed to root jrvilino Shell Programming and Scripting 1 03-05-2008 07:31 AM
Root account is expired mallesh UNIX for Advanced & Expert Users 2 06-22-2005 07:46 AM
Lost root password / Can't login as root Perderabo Answers to Frequently Asked Questions 0 06-22-2004 04:40 PM
root account has been locked Maker AIX 1 04-15-2004 06:25 AM
mistyped shell path, now i can't login as the only user that can su to root xyyz UNIX for Dummies Questions & Answers 3 10-22-2002 01:35 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-18-2008
Registered User
 

Join Date: Jan 2008
Posts: 2
Can't login root account due to can't find root shell

Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in.
I'm using AIX 5L version 5.2 with machine pSeries 655.
Is there anyway to solve this problem without using a bootCD ?
Please help.
Reply With Quote
Forum Sponsor
  #2  
Old 01-18-2008
Resident BOFH
 

Join Date: Dec 2007
Posts: 262
boot off a mksysb tape
boot off a NIM server

Why are you changing roots default shell?? Besides that you should use a system utility to manage accounts and not directly edit /etc/passwd.
Reply With Quote
  #3  
Old 01-30-2008
Registered User
 

Join Date: Jan 2008
Posts: 2
Thank you for your help,
I'm reading about mksysb and NIM.
However, fortunately, I have another account can login, and I used "su -c 'vi /etc/passwd' " to solve my problem.
However, that's a lucky circumstance, and I going to study NIM.

Thank you very much.
Best Regards.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0