sshd keybased only, still wants shadow

From: aryzhov (aryzhov_at_my-deja.com)
Date: 10/12/04


Date: 12 Oct 2004 04:10:30 -0700

Hello All,

I am trying to run FSecure's sshd (ssh.com) with UID!=0,
using key-based auth only (no passwd based auth at all).
At debug level 3 I see that sshd still tries to read /etc/shadow,
and, obviously failing that, refuses to proceed, saying
"system policy denies login of user xyzxyz"

I have bybassed it now by hacking the source code, but would
rather use some smarter way in the future. Any ideas?

Thanks,
Andrei



Relevant Pages

  • Re: password expiring problem
    ... I'm trying to setup sshd on an ARM-core-microcontroller based system. ... So what's happening is that sshd thinks your password has expired so it runs "passwd", but passwd either isn't clearing the setting that says that the password needs changing, or it's deliberately resetting it. ... If the apparent date is still Jan 1, 1970 that would probably cause passwd to write a zero to that field when a password is changed. ... Good judgement comes with experience. ...
    (SSH)
  • Re: Password auth turned off in OpenSSH
    ... >> You can confirm this by turning up the debug level on sshd. ... > to debug3, restarted sshd, and re-opened the port in my firewall. ... show the "Unrecognized authentication method name" message: ... The information in my log files show that password authentication is not ...
    (SSH)
  • Re: ssh on aix5.3. Logging in without passwords
    ... I can log in as user root without passwd but cannot ... Pub-Key on the destination machine into ~/.ssh/authorized_keys. ... Make sure the .ssh dir and the authorized_keys are owner read- ... Restart the SSHD. ...
    (comp.unix.aix)
  • Re: sshd & passwd
    ... > I am using cygwin with sshd. ... if i want to add an new user into my passwd with the ... > following command: ...
    (comp.security.ssh)
  • Re: sshd & passwd
    ... > I am using cygwin with sshd. ... if i want to add an new user into my passwd with the ...
    (comp.security.ssh)