Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


root account not found

root account not found

root account not found

System crashed and upon reboot it said root account not found.

I have copy of user accounts from "ap" command.  can the root account be restore from that file?

RE: root account not found

Back from the Death!.....

is it possible to delete root account from the scoadmin/account/ ? by accident?

I was deleting one of the user account before the system crashed.  I 'm sure I selected the right account and when it ask me are you sure...I remember it was the user account that selected not the root account.

Thanks for all your help

RE: root account not found

It's always nice to have a second "root" account just for such issues (or especially when root's password is accidentally changed and doesn't get noticed for weeks or months). Just create another user account, then change the UID to "0" in /etc/passwd and /tcb/files/auth/{a-z}/{newuser}.
In the case of a 'lost' password, you wouldn't be able to enter maintenance mode, so this provides yet another way to resolve such problems.

This idea is ONLY good if done beforehand, of course.
I've never tried (obviously) to accidentally remove the 'root' account. I'm kind of surprised the system would even boot in that case, but I'm glad PHV's suggestion got you going.  

"Proof that there is intelligent life in Oregon.  Well, Life anyway."

RE: root account not found

I had tested to removed the root account from the scoadmin/Account manager (not on the real live system) but It is not possible. So what I'm concern about now is not to deleted user account as it is might crashed the system again.

thanks for your help.


RE: root account not found

here is my note for the disaster:

my passwd and shadow file were zero out...no user account and passwd
available..the system let me have access to console.  I restored the passwd and shadow file fixed the problem

#cp -p passwd /etc/
#cp -p shadow /etc/

that's allow me to reboot and login

I will need to have a good backup of passwd and shadow files going forward.

Thanks for your help

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close