Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 13:51:40 +0100
From:      Ollivier Robert <roberto@eurocontrol.fr>
To:        FreeBSD Current Users' list <freebsd-current@FreeBSD.ORG>
Cc:        markm@freebsd.org
Subject:   openssh uses /etc (bad)
Message-ID:  <20000225135140.A476@caerdonn.eurocontrol.fr>

next in thread | raw e-mail | index | archive | help
I just saw that openssh (thanks Mark!) is using /etc/ for its configuration
file. As the author of the "--with-etcdir" option of SSH (back in '96) and
for the sake of consistency, I'd like to create a /etc/ssh directory and
move everything there.

We have /etc/ssl, /etc/mail, /etc/ppp, /etc/uucp and the ssh2 port uses
/etc/ssh2 so it is only natural to use /etc/ssh.

BTW manual build in /usr/src/crypto/openssh (i.e. outside buildworld) is
rather broken but I'm sure Mark will look at that.

Index: ssh.h
===================================================================
RCS file: /home/ncvs/src/crypto/openssh/ssh.h,v
retrieving revision 1.3
diff -u -2 -u -r1.3 ssh.h
--- ssh.h	2000/02/24 23:54:44	1.3
+++ ssh.h	2000/02/25 12:28:59
@@ -63,5 +63,5 @@
 #define SSH_SERVICE_NAME	"ssh"
 
-#define ETCDIR			"/etc"
+#define ETCDIR			"/etc/ssh"
 #define PIDDIR			"/var/run"
 
Index: sshd/Makefile
===================================================================
RCS file: /home/ncvs/src/crypto/openssh/sshd/Makefile,v
retrieving revision 1.1.1.1
diff -u -2 -u -r1.1.1.1 Makefile
--- sshd/Makefile	2000/02/24 14:29:17	1.1.1.1
+++ sshd/Makefile	2000/02/25 12:35:03
@@ -30,5 +30,5 @@
 .include <bsd.prog.mk>
 
-LDADD+=	-lcrypto -lutil -lz
+LDADD+=	-lcrypto -lutil -lz -lcrypt
 DPADD+=	${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
 

-- 
Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- Ollivier.Robert@eurocontrol.fr
The Postman hits! The Postman hits! You have new mail.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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