Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 12:13:54 +1000
From:      Joel Hatton <freebsd-questions@auscert.org.au>
To:        freebsd-questions@freebsd.org
Subject:   compiling other options into sshd
Message-ID:  <200508110213.j7B2Ds6Q050273@app.auscert.org.au>

next in thread | raw e-mail | index | archive | help
Hi,

I'd like to compile support for FreeBSD OPIE into sshd. Presently I have
to use PAM to achieve one-time password support. On a 4.x system I have
in /etc/ssh/sshd_config

ChallengeResponseAuthentication yes

and in /etc/pam.conf

sshd    auth    sufficient      pam_opie.so     no_fake_prompts

Rather than do this on a 5.x system now, I'd prefer to just enable OPIE
in the sshd binary, but I'm not sure if this is possible with a commandline
option to make. I would like to rebuild it in the usual way:

# cd /usr/src/secure/usr.sbin/sshd
# make obj && make depend && make all install

but somehow define OPIE or, I think, include the configure option
--with-skey=PATH, or both.

Can this be achieved within the regular system build process, or must I
roll my own?

thanks,
joel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508110213.j7B2Ds6Q050273>