The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 10:47 PM
How to enable a disabled Unix account on HP-UX kajap UNIX for Dummies Questions & Answers 1 04-26-2005 02:57 PM
Locked out of Mandrake 9.1 user account alarmcall Linux 5 06-26-2004 01:38 PM
root account has been locked Maker AIX 1 04-15-2004 09:25 AM
On HP Systems, how do you enable an account?? TRUEST UNIX for Dummies Questions & Answers 1 07-10-2003 12:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-03-2002
Syed_45 Syed_45 is offline
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
  #2 (permalink)  
Old 10-04-2002
minazk
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
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 (permalink)  
Old 10-04-2002
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0