- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 04:48 AM
08-22-2003 04:48 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 04:53 AM
08-22-2003 04:53 AM
Re: root password
How are you changing the password when you login in single user mode ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 04:55 AM
08-22-2003 04:55 AM
Re: root password
# pwck
And if your system is trusted:
# authck -p
Correct any errors the utilities point out.
Then try to change your password again.
If your system is trusted, this command will reset the password for you.
# /usr/lbin/modprpw -x root
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 04:56 AM
08-22-2003 04:56 AM
Re: root password
Other thoughts would be to change it, copy the /etc/passwd file somewhere, then, after moving to multi-user mode, check the two root entries in /etc/passwd against the copied version.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 05:04 AM
08-22-2003 05:04 AM
Re: root password
Run vipw and remove the encrpted password. But only do this if there is no /tcb(trusted system). Run pwck after editing /etc/passwd.
And now try to logon root again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 05:06 AM
08-22-2003 05:06 AM
Re: root password
# mount /usr
# mount /var
# mount /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 06:22 AM
08-22-2003 06:22 AM
Re: root password
cd /tcb/files/auth/r
vi root
null out the password entry, save the file.
You may have to do this in single user mode.
I'm still thinking NIS is involved somehow.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:15 AM
08-22-2003 07:15 AM
Re: root password
tried all the suggestions. DIdn't work. Let me point put that i am fullt able to change the password in single user mode, it just doesn't work when I return to full mode
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:18 AM
08-22-2003 07:18 AM
Re: root password
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:23 AM
08-22-2003 07:23 AM
Re: root password
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
hpdb:*:27:1:ALLBASE:/:/sbin/sh
nobody:*:-2:-2::/:
www:*:30:1::/:
smbnull:*:101:101:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh
webadmin:*:40:1::/usr/obam/server/nologindir:/usr/bin/false
shaibu:HSWyVk6qACw9Y:0:3:Shaibu Ali,Lagos,,:/home/shaibu:/usr/bin/sh
test:pRJWfrOpsD6UQ:102:20::/home/test:/usr/bin/sh
It's a new server, I have no problems letting you have the password file. Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:27 AM
08-22-2003 07:27 AM
Re: root password
What character are you using ?
only letters and numbers or also some '#@|!" char?
No caps-lock in use? No numeric pad ?
I read some thread ago, for example, that if toy type in the login name in capital letter, then all the input is interpreted in capital, irregarding of original size, due to the fact that the terminal thinks that you are on an old tty.....
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:36 AM
08-22-2003 07:36 AM
Re: root password
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:41 AM
08-22-2003 07:41 AM
Re: root password
Just for a test, try a nice insecure password that has only letters. like "pepsi" (my personal favorite drink but not password).
See if this works on the way up.
Some special characters (especially @ ) can be SET as password but not entered as password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 07:26 AM
08-26-2003 07:26 AM
Re: root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 07:29 AM
08-26-2003 07:29 AM
Re: root password
The special character in the password issue listed above could be bypassed by the su - command.
Kent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 07:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 07:35 AM
08-26-2003 07:35 AM
Re: root password
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 07:42 AM
08-26-2003 07:42 AM
Re: root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2003 08:09 AM
08-26-2003 08:09 AM
Re: root password
I was able to nail down the problem after all the questions and answers. I started closely watching this thread halfway only.
Some of the questions and thoughts were great and they deserve more than me. The problem was obvious at the end to solve which is nothing compared to the previous responses.
Please give credit to all.
thanks,
Umapathy