- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- OLD Root password is still working after the "pass...
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-16-2007 02:25 AM
08-16-2007 02:25 AM
OLD Root password is still working after the "passwd" change
Connected as root and did "passwd" to change the root password. It worked. New password and ols password both are working. Why pld password is still active?? Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 02:33 AM
08-16-2007 02:33 AM
Re: OLD Root password is still working after the "passwd" change
What does your passwd entry in /etc/nsswitch.conf look like?
Is your system trusted, shadowed, or traditional?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 02:38 AM
08-16-2007 02:38 AM
Re: OLD Root password is still working after the "passwd" change
How to find out if a system is trusted, shadowed, or traditional?
We have HP-UX 11i version 2 installed in integrity servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 02:40 AM
08-16-2007 02:40 AM
Re: OLD Root password is still working after the "passwd" change
If the system is using shadow passwords then /etc/shadow will exist.
If neither of the above exist, then you will only have /etc/passwd and the encrypted passwords will be stored in /etc/passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 02:40 AM
08-16-2007 02:40 AM
Re: OLD Root password is still working after the "passwd" change
Your system will not authenticate correctly until you have an /etc/nsswitch.conf file
There are several candiate files in etc
cd /etc
ls | grep nsswitch
Look at them and pick one that works for you.
cp it to nsswitch.conf
try again
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-16-2007 02:45 AM
08-16-2007 02:45 AM
Re: OLD Root password is still working after the "passwd" change
And these are the nsswitch files we have in the system.
nsswitch.compat nsswitch.files nsswitch.hp_defaults nsswitch.ldap nsswitch.nis nsswitch.nisplus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 07:42 PM
08-16-2007 07:42 PM
Re: OLD Root password is still working after the "passwd" change
@SEP - I also don't have nsswitch.conf at my system, is it really necessary?
Can't it be that the password is too long?
I believe you can't use more than 8 characters - anything behind is ignored.
So if your old and your new passwd is identically in the first 8 characters, the system will accept both.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 08:31 PM
08-16-2007 08:31 PM
Re: OLD Root password is still working after the "passwd" change
Do you have '/etc/default/security'?
Check it for restrictions.
See also:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1050767
Or have you changed it in a NIS environment?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 10:42 PM
08-16-2007 10:42 PM
Re: OLD Root password is still working after the "passwd" change
HPquestion,
may i know what is new password and old password ? it is strange to take 2 new and old password. fishy :-)
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 12:40 AM
08-17-2007 12:40 AM
Re: OLD Root password is still working after the "passwd" change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2007 08:03 AM
08-17-2007 08:03 AM
Re: OLD Root password is still working after the "passwd" change
If your old password and new password's first 8 character is same then the old password will also work.
like if your old password is : walkingalone
and new password is: walkingaroad
So for this way both pass will work. coz it will only check the first 8 characters.
Thanks & Regards
A. Aashique