Operating System - HP-UX
1748204 Members
3308 Online
108759 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
vinod u
Advisor

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

Hi All,

Unable to reset the password for HP L2000/44 running on HP UX 11.11. I loggd in single user mode and changed the password it changed. but after that in multiuser mode its not accepting new password. How do I get my root login back.

Regards
Vinod
18 REPLIES 18
Nido
Trusted Contributor

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

Hello Vinod.

It shouldn't be the case one expects.

Try setting the simple root password or make it null (not recommended).

You can have another user created temporarily and provide it root priviledges.
Reboot the machine into multiuser mode and Check.


Let me know what your investigation says..

Good Luck!!



" Let Villagers Be Happy!! "
Robert-Jan Goossens
Honored Contributor

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

Hi Vinod,

Are you running in trusted mode? Is shadow passwd installed?

How did you reset the password in single-user mode?

Regards,
Robert-Jan
vinod u
Advisor

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

Hi ,

How do I know in which mode system is running. I am not sure its running in trusted mode.

While booting I typed hpux -is and its booted in single user mode and i changed the passwd by passwd command. I restarted after that new password didnt worked ....

Regards
Vinod
Robert-Jan Goossens
Honored Contributor

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

Hi again,

Run
# /usr/lbin/modprpw
This will report if is trusted or not trusted.

Run
# ll /etc/shadow
to check if you shadow passwords

---
I restarted after that new password didnt worked ....
---

Just wondering, did you use a @ or a # character in you new password for root?

Regards,
Robert-Jan
Steven E. Protter
Exalted Contributor

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

Shalom,

boot into single user mode again

passwd

Set a simple password.

reboot

log in as root.

Set password normally following normal organizational rules.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor
Solution

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

After you changed the password in single user mode, when you rebooted, did you try to login over a network connection or did you still use the console login as you di8d with single user mode? This system may have restricted root login which is controlled by the presence of the file: /etc/securetty. If it exists, root is not allowed to login except through the ports defined in this file (typically: console).


Bill Hassell, sysadmin
sujit kumar singh
Honored Contributor

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

Hi


1) boot in single user mode, untrust the system,change the root password, reboot, logon as root and then make the system trusted again.


regards
sujit
sujit kumar singh
Honored Contributor

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

hi,

also can have a look at the suggestions made in thos thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=34362
regards
sujit
Steven E. Protter
Exalted Contributor

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

Shalom,

You could also try nulling out the root passwd in the /etc/passwd file.

Then you can boot the system to multi user mode, do a quick su - root which is normally permitted even in very secure systems and set the root password in multi user mode.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com