Visit Our UNIX and Linux User Community


Prompted for System Password during login


 
Thread Tools Search this Thread
Operating Systems HP-UX Prompted for System Password during login
# 1  
Old 12-05-2007
Prompted for System Password during login

Hello,

I'm new to HP-UX. I have a system running B.11.23 on ia64. The system gets its user passwords via active directory. Everytime a new account is added to AD a script pushes out the account info to all the systems and this system is updated too. However, on this machine, users are unable to login as they get prompted for "System Password" after entering their password. See below:

Code:
$ ssh hpi-app3
Password: 
System Password:
Password: 
System Password:
Password:

This process never ends. Where do I even look for some setting? Can someone shed some light on this?

Thanks.

Mohsin
# 2  
Old 12-06-2007
Problem solved. Steps taken to solve the problem:

1. check whether system in trusted mode (it was not)
2. check pam.conf for errors
3. check krb5.conf for errors
4. tail -f /usr/adm/syslog/syslog.log while attempt to login as regular user. Noticed error:

Code:
Dec  6 10:18:41 hpi-app3 sshd[17996]: [Clock skew too great in KDC reply] while getting initial credentials
Dec  6 10:18:41 hpi-app3 sshd[17996]: [Authentication failed] Password not valid 
Dec  6 10:25:07 hpi-app3 sshd[17996]: error: PAM: Authentication faile

d

A clue. Check system time and it was off by 6 minutes.

7. ntpdate time.nist.gov
8. login as regular user:

Code:
Dec  6 10:25:13 hpi-app3 sshd[18049]: Accepted keyboard-interactive/pam for XXXX from xxx.xxx.xxx.xxx port 14153 ssh2

Now users are able to login.
# 3  
Old 12-06-2007
Excellent. Thanks for updating the thread with you problem determination and fix.

Previous Thread | Next Thread
Test Your Knowledge in Computers #537
Difficulty: Medium
An enumerated data type allows a user to define a list of keywords associated with integers.
True or False?

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Prompted for password when reverse SSH connecting

Dear Experts, I am writing a batch script to transfer files from server AA to BB without prompting for password. Already, ssh keys have been generated in BB and public key of BB has been stored in AA as part of some other project requirement. So, I thought of reusing this. I can now transfer... (6 Replies)
Discussion started by: ss112233
6 Replies

2. Red Hat

changing which password is prompted for in sudoers

Basically I only want particular users to know the root password, but I also want power users to be able to run certain commands with root privileges. All admins for this box will be authenticating initially through winbind (I do have a backdoor account in case winbind goes wonky) I want... (0 Replies)
Discussion started by: thmnetwork
0 Replies

3. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

4. Shell Programming and Scripting

How to enter a password in the script automatically when prompted?

Hi Friends, We need to create a script which will invoke a command with diffrent parameters. The command invoked needs the password. So how automatically we can enter password in the script to the command? example.: #!/bin/ksh for par in `cat parfile` do # Here is the main command... (1 Reply)
Discussion started by: sourabhsharma
1 Replies

5. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

Featured Tech Videos