- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: openssh problem logging in with locked account
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
01-14-2004 11:00 PM
01-14-2004 11:00 PM
openssh problem logging in with locked account
Thanks,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 01:20 AM
01-15-2004 01:20 AM
Re: openssh problem logging in with locked account
in the sshd_config file you must enable
UseLogin Yes
I had the same problem with our trusted systems, and this fixed it.
peace
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 01:36 AM
01-15-2004 01:36 AM
Re: openssh problem logging in with locked account
./configure --with-pam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 02:45 AM
01-15-2004 02:45 AM
Re: openssh problem logging in with locked account
T1471AA_A.03.61.002_HP-UX_B.11.00_32+64.depot
I switched UseLogin to yes, and couldnt restart the daemon...got the error message:
PRNG seed extration failed
ssh-rand-helper child produced insufficient data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 02:51 AM
01-15-2004 02:51 AM
Re: openssh problem logging in with locked account
2) (as far as remember) ssh uses 4 possible user authentication: public (PubKey enabled by default ,PasswordAuth. also enabled by default,
RhostsAuth (ssh1) , PamAuth (which can also go to password files). ssh uses Pam for passw authentication.
Basically to set Public Key authentication without passphrases you need
a)add the ssh server you're connecting to to ./autorized_hosts by simply doing 'ssh server'
b)setup with ssh-keygen public keys and distribute.
Please see attached (got it from ITRC btw).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 03:00 AM
01-15-2004 03:00 AM
Re: openssh problem logging in with locked account
basically, if I chage the encrypted password to anything but *, it works...I just threw in some random characters, and was able to connect:
ssh mysystem "ll /etc/passwd"
Authentication successful.
-r--r--r-- 1 root sys 1392 Jan 14 09:37 /etc/passwd
but when I change it back to a *, I get this:
ssh mysystem "ll /etc/passwd"
Authentication successful.
Disconnected; connection lost (Connection closed.).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 03:12 AM
01-15-2004 03:12 AM
Re: openssh problem logging in with locked account
Ok, if you want this admin to live on his own -
don't setup publickey for this particular user but leave PasswordAuthentication enabled, this way 2 hosts will exchange host keys , create ssh-tunnel and admin user will run inside.'*' in /etc/password means the user can'd do login and I assume this 'admin' user lived on .rhost
files?Then you may try Rhosts(RSAA) Auth enabled (ssh1 only) and not use PasswordAuthentication...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 03:15 AM
01-15-2004 03:15 AM
Re: openssh problem logging in with locked account
run sshd on server side with -ddd option.Then connect (while * is in /etc/passwd) and collect the screen output (to see where and why sh fails).May be it fails on public key due to user directory permissions and then goes to /etc/password...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 03:21 AM
01-15-2004 03:21 AM
Re: openssh problem logging in with locked account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 03:29 AM
01-15-2004 03:29 AM
Re: openssh problem logging in with locked account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 03:30 AM
01-15-2004 03:30 AM
Re: openssh problem logging in with locked account
disable (sshd_config/ssh_config) all 'suspected' authentication types (PAM,Password)
as this may trigger /etc/password check?I think debugging (-ddd) output may show these and other activities.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 04:00 AM
01-15-2004 04:00 AM
Re: openssh problem logging in with locked account
As of version 3.2.0, password expiration handling is supported. This feature forces the user to change an
expired password when logging into the system...
Don't know how to disable this feature :) Also
try to put in F-secure : Settings>Profile>Connection>Authentication>
Public Key before password in both windows.