[1224] in linux-security and linux-alert archive

home help back first fref pref prev next nref lref last post

[linux-security] sshd with a custom shadow /bin/login

daemon@ATHENA.MIT.EDU (Kevin at Paranoia)
Wed Oct 16 05:25:17 1996

To: linux-security@tarsier.cv.nrao.edu
Date: Tue, 15 Oct 1996 05:53:04 -0500
From: Kevin at Paranoia <kevintx@ministry.paranoia.com>

Sorry, I haven't been able to reach www.cs.hut.fi all morning to check the
ssh mailing list archive there and I'm in a bit of a time crunch to find an
answer on this.. hopefully someone else can help me (and quick).

I'm using sshd on a linux 2.0.22 system with a custom /bin/login (based on
shadow-960810) which I'd like to have invoked from sshd when a login comes
in by ssh.  As it is, the sshd code contains its own "login" code that I
don't want to have to modify for every change that I've made in my shadow
login.  Besides my other changes in the shadow /bin/login, sshd doesn't
allow for MD5CRYPT passwords.  Is there any way to have sshd just invoke
/bin/login (with the -f flag if the user is preauthenticated) to perform
the login?  Is there some reason why it doesn't do this already (or at
least offer the option)?

How has anyone else dealt with this?  Thank you very much.

kevin
-- 
   kevintx@ministry.paranoia.com     (personal priority mail address)
   <a href="http://www.paranoia.com/"> got nothing better to do? </a>
"The Internet interprets the US Congress as damage and routes around it"

home help back first fref pref prev next nref lref last post