- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Trusted Systems problem-can't log in or change...
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
05-15-2002 07:26 PM
05-15-2002 07:26 PM
I have just started to see something strange on my system. When the system (HP-UX 11 L class) is running as a trusted system, the user accounts are all locked or something, because we can't log in. eg:
[palau]:/root # telnet nauru
Trying...
Connected to nauru.workcover.qld.gov.au.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON
HP-UX nauru B.11.00 A 9000/800 (td)
login: root
Password:
Connection closed by foreign host.
[palau]:/root #
the same happens for other users on the system.
Also, I can't change a users password: eg
As root:
$ useradd andy1234
$ passwd andy1234
Changing password for andy1234
Last successful password change for andy1234: NEVER
Last unsuccessful password change for andy1234: NEVER
Current user has no Protected Password entry.
So I unconvert the system to an UN-trusted system in sam. All of a sudden, everything is okay. The users can log in, and root can change andy1234's passwd.
so I decided to change back to a trusted system (in sam). sam doesn't report an error: authck -p returns no problems.
but once I have converted it to a trusted system, the problems all come back again! What is causing this?
Any help would be much appreciated!
Thanks.
- Andy Gray
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:38 PM
05-15-2002 07:38 PM
Re: Trusted Systems problem-can't log in or change passwords
I'm not sure exactly what your problem could be, but the first place, I would suggest that you look, is at patches.
Do you have any other server with a similar problem? If you have a test server with a different patch level, why not copy the /etc/passwd file across to it and test it to see if it occurs there.
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:57 PM
05-15-2002 07:57 PM
SolutionAfter you untrusted the system, was the /tcb directory totally removed or not? It helps to make sure the /tcb directory is not present when the system is not trusted. This seems like some tcb corrupted issue. Or it could be a Patch related issue. (can be only confirmed by verifying with another system which is ok).
Here is a link which seems to solve ,tHe error message you get when changing a password:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=f18dfad00fbf8215d5/screen=ckiDisplayDocument?docId=200000057272443
It points to the /etc/nsswitch.conf file.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:00 PM
05-15-2002 08:00 PM
Re: Trusted Systems problem-can't log in or change passwords
Thanks for the reply.
Okay, I unconverted the machine (nauru) and the machine I was going to experiment on (tonga was already a successful trusted system), then I copyied the /etc/passwd and /etc/group files over to another simmilarly configured machine (tonga) and then converted that machine to a trusted system. it converted okay according to sam. then tried to log in and change passwords as I tried on nauru initially. The difference this time is that each time it actually worked! So it's not the /etc/passwd or /etc/group file that is corrupted....something else is. good idea though. So I unconverted tonga back and moved the original /etc/passwd and /etc/group file back in place and converted that back to a trusted system..
I then tried it in reverse. ie I copied the passwd file from tonga onto nauru and converted it to a trusted system, knowing that the passwd and group files from tonga are good. But alas, after converting nauru to a trusted system, it came up with the same problems.
one thing I noticed is this: after converting nauru to a trusted system, whenever I try to rlogin in from another machine, it doesn't seem to matter whether I type the password in correctly or not, I still get the same message:
rlogin: connection closed.
actually, it shouldn't even ask me for a password since I have .rhosts entries which should take care of that. I don't know whether this bit of information helps or not.
Any other ideas people?
- Andy Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:04 PM
05-15-2002 08:04 PM
Re: Trusted Systems problem-can't log in or change passwords
passwd: files nis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:07 PM
05-15-2002 08:07 PM
Re: Trusted Systems problem-can't log in or change passwords
I had a look at the /etc/nsswitch.conf file, it said that for passwd and group lookup, "compat" was the method. I changed this to "files" and tried to convert it to a trusted system and guess what:
IT WORKS!!!!!
So compat in /etc/nsswitch.conf was the issue at hand. When going to trusted system, you must use "files" in your /etc/nsswitch.conf file (perhaps if you're using NIS+ or someting you use something else...dunno) and not "compat". great!
Thank you all. problem solved!
- Andy Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:34 PM
05-15-2002 08:34 PM
Re: Trusted Systems problem-can't log in or change passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 12:15 PM
11-01-2006 12:15 PM
Re: Trusted Systems problem-can't log in or change passwords
S K Chan said:
Just FYI ... the "compat" method means it enforces the +/- syntax that we use in passwd file.
"compat" seems to mean "don't let anyone
logon, and don't report why". We also
broke our system today (2006-11-01) by
specifying "compat" ... and fixed it by
specifying "files". Thanks, Andy!
sieler@allegro.com