Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Allow password auth for one user with sftp?

Subject: Re: Allow password auth for one user with sftp?
Date: Thu, 11 Jan 2007 23:39:44 +0100
also sprach Adrian von Bidder <avbidder@fortytwo.ch> [2007.01.11.1855 +0100]:
Anybody has an idea if and how this is possible?  The obvious but
ugly solution would be to run a second sshd on a different port,
but I'd rather avoid that.

It'll be possible if and only if SSH differentiates between
authentication and authorisation/session. If it does, you can limit
authentication with PAM via pam_file to one user, knowing that
publickey auth will be handled by sshd. All users, however, need to
be authenticated against the PAM session component.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
never trust an operating system
for which you do not have the source.
                                                   -- source unknown

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

<Prev in Thread] Current Thread [Next in Thread>