Sponsored Content
Special Forums Cybersecurity lost root password using (SAM) trusted security Post 6669 by alwayslearningunix on Monday 10th of September 2001 05:26:29 AM
Old 09-10-2001
If you don't have a root session logged on I'm afraid it is a reboot into single user mode - interrupt the boot sequence when it asks you to, search for a boot path, boot from that path (should be obvious which disk to select - look at the SCSI addressing), say yes to interacting with the ISL, at the ISL prompt type : hpux -is, and let it boot into single user mode.

mount -a to mount all filesystems. cd into the /tcb/files/auth/r directory, cp the root file, then edit it and delete the line beginning ":u_pwd". You can then change root passwd in the normal manner.

NOTE - if root passwd has been locked out due to too many incorrect login attempts run "/usr/lbin/modprpw -k root" to unlock, then undergo the above procedure for deleting root tcb entry.

Hope this helps.

Regards.
alwayslearningunix
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Root Password Lost !!!

I've forgotten root password on one of Solaris machines, i searched in forumes to find a similar case but there's no proceudre here to reinintialize root password, cause most of related commands & even single user mode needs root password that i don't have. Any solution would be helpful. --rgrds,... (9 Replies)
Discussion started by: nikk
9 Replies

2. UNIX for Advanced & Expert Users

I lost my password root

Hello ... I lost my password root ! maybe someone can to help me to log in HP_UX, i started the server in " Singel - User" and i changed my password to new password and it`s not working .. what i must to do ??? (4 Replies)
Discussion started by: yanly
4 Replies

3. UNIX for Advanced & Expert Users

Lost Root Password

I have recently become the sys adm guy for our unix systems here for my shop. I have a pretty good understanding of the system, but there is just some stuff that I don't know. Right now one of those things is to recover the password for a unix system. I know that there is a way that you can use... (2 Replies)
Discussion started by: GlockCW
2 Replies

4. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies

5. Linux

how to access root priveliges if root password is lost

wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies

6. UNIX for Dummies Questions & Answers

Root Password Lost

I'm attempting to blank out the root user password on a machine that we have forgotten the password for. I have been using the advice posted on this site to boot from CDROM in single user mode, then mounting the root slice and editing the /etc/shadow file. Each time I save the shadow file and... (1 Reply)
Discussion started by: gonzotonka
1 Replies

7. UNIX for Advanced & Expert Users

Help with Lost Root Password

This is a common question im sure... I bought a RS/6000 Model 240. Aix 4.3.3 loaded. No root password was supplied to me, but I do have the install media (4 disks). I want to drop into maint mode. So I place the cd into the drive, restart the box ( by pressing the power button, since i do not have... (3 Replies)
Discussion started by: JoeJohnSmith
3 Replies

8. SCO

unixware 7.1.4 lost root password

I dont have the cds, what can i do? (2 Replies)
Discussion started by: sopapa
2 Replies

9. SCO

Lost root Password - OpenServer 6

Hi All, It seems that someone in my organization had changed the root password on a SCO Openserver 6 box. Apparently, there are no emergency boot disks. I think they were never created because there is no floppy drive on the machine. I've tried to use the Openserver 6 media installations... (2 Replies)
Discussion started by: gseyforth
2 Replies

10. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies
dialups(4)						     Kernel Interfaces Manual							dialups(4)

NAME
dialups, d_passwd - dialup security control DESCRIPTION
and are used to control the dialup security feature of (see login(1)). If is present, the first word on each line is compared with the name of the line upon which the login is being performed (including the as returned by (see ttyname(3C)). If the login is occurring on a line found in dialup security is invoked. Anything after a space or tab is ignored. When dialup security is invoked, requests an additional password, and checks it against that found in The command name found in the ``pro- gram to use as shell'' field of is used to select the password to be used. Each entry in consists of three fields, separated by colons. The first is the command name, matching an entry in The second is the encrypted password to be used for dialup security for those users logging in to use that program. The third is commentary, but the second colon is required to delimit the end of the password. A null password is designated with two adjacent colons. The entry for is used if no other entry matches the command name taken from FILES
dial-in tty lines passwords SEE ALSO
login(1), passwd(4). dialups(4)
All times are GMT -4. The time now is 04:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy