Operating System - HP-UX
1752790 Members
6545 Online
108789 Solutions
New Discussion юеВ

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

 
SOLVED
Go to solution
NMory
Respected Contributor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

Hello Vinod:

Another thing that you could try is restoring the /etc/passwd from /usr/newconfig/etc/passwd.

This is only if the system is not trusted. Before doing it, make a backup of you current /etc/passswd in single user mode(this is very important) and then:

# cp /usr/newconfig/etc/passwd /etc/passwd
# passwd

Enter new password.

# init 3

If you are able to login with the root password, then restore your backed up /etc/passwd file to it├В┬┤s original location.

Change the password again.
# passwd

Just in case, after that reboot the system and make sure everything is working normally.

LN
vinod u
Advisor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

Hi all,

no LUCK. its not trusted
no shadow password file
tried with null password
created one more super user ; same issue
no security file create its 0 bytes
Tried backing up passwd and resetting no luck

any other option which will stop me before I go for format

But the server is pinging from the network but cant login.
regards
vinod
vinod u
Advisor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

/etc/securetty file is present but 0 bytes nothing is there in the file

Torsten.
Acclaimed Contributor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

Any special characters in your password like "#"?

Try with a "simple" password.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Nido
Trusted Contributor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

Hello Vinod,

Keep the customize .profile and /etc/profile away from sometime and copy the standard profiles from /usr/newconfig/etc.

set /etc/hosts.equiv on the host to have access from other box while in Single User mode.

I know, As suggested you'd have set the simple/null password.

Check for man hosts.equiv for referrence.

System re-install would have been the last option but I know Admins here are smarter than Mischievous kid on your system. :-)



Good Luck!!
" Let Villagers Be Happy!! "
vinod u
Advisor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

NO LUCk !!!

Any other inputs to avoid format !! please

Regards
vinod
Aneesh Mohan
Honored Contributor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

>>/etc/securetty file is present but 0 bytes nothing is there in the file

Remove /etc/securetty file and try with the changed password.It should work.


Regards,
Aneesh
Bill Hassell
Honored Contributor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

> /etc/securetty file is present but 0 bytes nothing is there in the file

Oops. This file should not exist if you aren't going to limit root login locations. If it is 0 bytes, then root can NEVER login. That's what this file does. If it has "console" then root can login on the console. If it haas nothing, then root can never login from anywhere.


Bill Hassell, sysadmin
vinod u
Advisor

Re: Unable to reset the password for HP L2000/44 running on HP UX 11.11

/etc/securetty this was the problem

removed this loginw as success

Thanks

vinod