The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Re-enabling a locked root account on Trusted HP-UX Perderabo HP-UX 0 02-17-2006 07:47 PM
How to enable a disabled Unix account on HP-UX kajap UNIX for Dummies Questions & Answers 1 04-26-2005 11:57 AM
Locked out of Mandrake 9.1 user account alarmcall Linux 5 06-26-2004 10:38 AM
root account has been locked Maker AIX 1 04-15-2004 06:25 AM
On HP Systems, how do you enable an account?? TRUEST UNIX for Dummies Questions & Answers 1 07-10-2003 09:02 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-03-2002
Registered User
 

Join Date: Aug 2001
Location: Toronto
Posts: 7
How to Enable locked root account

Hi Every one

I disable the root account entering wrong password for many time
How can I enable the root account


I am using Tru64 Unix V4.0G

Thank you
Forum Sponsor
  #2  
Old 10-04-2002
minazk
Guest
 

Posts: n/a
There has to be some backup user account with root permissions.
If u are the administrator, you should be knowing abt it.

Still if u can't recall your password, there is another way of recovering.
We generally have have an alternate root filesystem which is not mounted in multi-user mode.
There the passwd file will be available. It all depends on when you had updated it.
Also this needs you to recall your last few passwords.

Hope it might help u in some way.

Minaz
  #3  
Old 10-04-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Well, there shouldn't necessarily be another account with root access - that's not the best idea to have lying around. Besides, who would know that password if they couldn't remember root's?

Some systems, you can boot into single user, and "be" root without knowing the root password.
On many systems, you'll have to boot on mini-root or off of some media (floppy, cdrom, etc) depending on your version on Unix. Since I am not familiar with Tru64, I can only suggest what may possibly help in a generic fashion.

1) Boot into single-user, mini-root, floppy, disk, or whatever
2) mount the device holding your /etc partition
3) edit the passwd file (or shadow if you're using shadow passwords) to remove the root password altogether
4) boot normally, and change root's password to one you'll remember!

Keep in mind that this possibly won't work if you're using something like NIS, or if the OS doesn't store passwords in a flat file like passwd or shadow.

Search Google for details on how to boot into single user, or off of another media.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:08 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