How to Enable locked root account

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to Enable locked root account
# 1  
Old 10-03-2002
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  
Old 10-04-2002
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.

# 3  
Old 10-04-2002
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX Account getting Locked Everyday between same Time Frame

I am facing an Issue with a particular Unix Account ( ie a particular Userid) getting LOCKED everyday between 7:30am and 8:00am. The Password associated with this particular Account has been setup such that it should never Expire at all but it does LOCK the Account after more than 3 failed... (5 Replies)
Discussion started by: pchegoor
5 Replies

2. Solaris

User account get locked due to strange behaviours

I am facing strange problem where after three failed login attempt user password must be locked. Actually what is happening, when I take the putty session of the server & enter user name on the prompt at the login prompt & then press enter to enter the password at this time when I checked the... (10 Replies)
Discussion started by: sb200
10 Replies

3. UNIX for Dummies Questions & Answers

Account is locked or login administratively denied

Hi, When I am trying to do ssh to a server it shows below error. Key setup is all good and it used to work well few days back. Now suddenly I am getting this error. ssh -i <private_key> <id>@<hostname> Received disconnect from <hostname> Account is locked or login administratively... (1 Reply)
Discussion started by: mahish20
1 Replies

4. UNIX for Dummies Questions & Answers

How do i list all locked account in linux?

Hi How do i list all locked account in my linux distributiion I have tried passwd -S -a but it seems to not working . My distribution details. # lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: OracleVMserver... (3 Replies)
Discussion started by: pinga123
3 Replies

5. Solaris

Banner for Locked Account

Hi, I have enable Account lock for failed login attempts. I have configured 1) /etc/security/policy.conf 2)/etc/default/login To lock an account if it make multiple incorrect attempts to login to Solaris 10 server. I can see the account gets locked in /etc/shadow. I would like to... (1 Reply)
Discussion started by: menonk
1 Replies

6. AIX

account is always locked out

we have a user name "Test1" that account is alwyas locked out. The user has been used to many servers to ftp a file from the main server. i already increase the MaxStartups to 99. And still after how many days account will locked. (3 Replies)
Discussion started by: invinzin21
3 Replies

7. HP-UX

Re-enabling a locked root account on Trusted HP-UX

I knew I had had seen this somewhere:Q: How can I re-enable my root account when I typed in my password wrong 3 times and the account got disabled? A: When your HP-UX system is in the more secure "trusted system" mode, your account is automatically disabled after you have entered your password... (0 Replies)
Discussion started by: Perderabo
0 Replies

8. Linux

Locked out of Mandrake 9.1 user account

Hi all, I've been using linux/unix now only for a couple of months and was doing ok until about 30 minutes ago... I needed to reboot into my windows 2000 partition, so, in a terminal I typed: shutdown -r now which duly rebooted the PC for me. On getting to the OS selection screen I... (5 Replies)
Discussion started by: alarmcall
5 Replies

9. AIX

root account has been locked

I'am set the root account locked ON, using smitty, so I can't login or su with root user in my AIX system, some one can help me to unlock root account login ???, sample : :~>su root's Password: 3004-301 Your account has been locked; please see the system administrator. 3004-501 Cannot su to... (1 Reply)
Discussion started by: Maker
1 Replies

10. UNIX for Dummies Questions & Answers

On HP Systems, how do you enable an account??

now, HP can be very annoying when your coming off of a solaris box. anyway, i needed to change a password for a user who was on an HP machine. Changing the password was no problem but getting the user to log on with the new password was the problem. the user kept getting "account disabled"... (1 Reply)
Discussion started by: TRUEST
1 Replies
Login or Register to Ask a Question