diff options
author | Brian Feldman <green@FreeBSD.org> | 2000-11-14 04:42:25 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2000-11-14 04:42:25 +0000 |
commit | 087815f8bcef00e7cfbc04089cc9c463a01e0f3d (patch) | |
tree | 2443f83ecadb68e253bee6c5b08e548c1fe7df9f /secure/usr.bin | |
parent | 03e72be8c85be4794303744d88ca182387a3b36f (diff) | |
download | src-087815f8bcef00e7cfbc04089cc9c463a01e0f3d.tar.gz src-087815f8bcef00e7cfbc04089cc9c463a01e0f3d.zip |
Disable /usr/bin/ssh being setuid root by default. Let the variable
ENABLE_SUID_SSH being defined reenable it for those that want it.
This follows discussion favoring the change from September. It
is not usually necessary to be setuid root, possibly less safe,
and less convenient (cannot use $HOSTALIASES, for example).
Submitted by: jedgar
Notes
Notes:
svn path=/head/; revision=68705
Diffstat (limited to 'secure/usr.bin')
-rw-r--r-- | secure/usr.bin/ssh/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile index 10dcbf0f8f09..0b99611f058c 100644 --- a/secure/usr.bin/ssh/Makefile +++ b/secure/usr.bin/ssh/Makefile @@ -5,7 +5,9 @@ SSHSRC= ${.CURDIR}/../../../crypto/openssh PROG= ssh BINOWN= root +.if defined(ENABLE_SUID_SSH) BINMODE=4555 +.endif MAN1= ssh.1 LINKS= ${BINDIR}/ssh ${BINDIR}/slogin MLINKS= ssh.1 slogin.1 |