ssh-keysign(8) belongs in /usr/libexec, not in /usr/bin, and needs to be

setuid so ssh(1) doesn't have to be.

Pointy hat to:	des
Submitted by:	Katsuyuki TATEISHI <katsu@iec.hiroshima-u.ac.jp>
This commit is contained in:
Dag-Erling Smørgrav 2002-07-05 08:39:09 +00:00
parent 21f1b5331f
commit 81d858170e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99430
4 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
SUBDIR= telnetd
.endif
.if !defined(NO_OPENSSL) && !defined(NO_OPENSSH)
SUBDIR+=sftp-server
SUBDIR+=sftp-server ssh-keysign
.endif
.include <bsd.subdir.mk>

View file

@ -3,6 +3,9 @@
PROG= ssh-keysign
MAN= ssh-keysign.8
CFLAGS+=-I${SSHDIR}
.if defined(ENABLE_SUID_SSH)
BINMODE=4511
.endif
DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD= -lssh -lcrypto -lz

View file

@ -7,7 +7,7 @@ SUBDIR+=telnet
.if !defined(NO_OPENSSL)
SUBDIR+=openssl
.if !defined(NO_OPENSSH)
SUBDIR+=scp sftp ssh ssh-add ssh-agent ssh-keygen ssh-keyscan ssh-keysign
SUBDIR+=scp sftp ssh ssh-add ssh-agent ssh-keygen ssh-keyscan
.endif
.endif

View file

@ -3,9 +3,6 @@
PROG= ssh
CFLAGS+=-I${SSHDIR}
.if defined(ENABLE_SUID_SSH)
BINMODE=4555
.endif
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
MAN= ssh.1 ssh_config.5
MLINKS= ssh.1 slogin.1