summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 02:42:37 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 02:42:37 +0000
commit7a7edf77ed9e9c982beedb84f2bd384acb7cfcdb (patch)
tree1f05666fcea178a3034ee7fbb9fd14a830bedcd9 /servconf.c
parent01426a67c86850a06af757c2661409f87ed05414 (diff)
downloadopenssh-git-7a7edf77ed9e9c982beedb84f2bd384acb7cfcdb.tar.gz
- stevesk@cvs.openbsd.org 2002/03/19 03:03:43
[pathnames.h servconf.c servconf.h sshd.c] _PATH_PRIVSEP_CHROOT_DIR; ok provos@
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/servconf.c b/servconf.c
index 72d75cc9..08585490 100644
--- a/servconf.c
+++ b/servconf.c
@@ -10,7 +10,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: servconf.c,v 1.103 2002/03/18 23:52:51 stevesk Exp $");
+RCSID("$OpenBSD: servconf.c,v 1.104 2002/03/19 03:03:43 stevesk Exp $");
#if defined(KRB4) || defined(KRB5)
#include <krb.h>
@@ -115,7 +115,6 @@ initialize_server_options(ServerOptions *options)
options->unprivileged_user = -1;
options->unprivileged_group = -1;
- options->unprivileged_dir = NULL;
/* Needs to be accessable in many places */
use_privsep = -1;
@@ -252,8 +251,6 @@ fill_default_server_options(ServerOptions *options)
options->unprivileged_user = 32767;
if (options->unprivileged_group == -1)
options->unprivileged_group = 32767;
- if (options->unprivileged_dir == NULL)
- options->unprivileged_dir = "/var/empty";
}
/* Keyword tokens. */
@@ -286,7 +283,7 @@ typedef enum {
sBanner, sVerifyReverseMapping, sHostbasedAuthentication,
sHostbasedUsesNameFromPacketOnly, sClientAliveInterval,
sClientAliveCountMax, sAuthorizedKeysFile, sAuthorizedKeysFile2,
- sUsePrivilegeSeparation, sUnprivUser, sUnprivGroup, sUnprivDir,
+ sUsePrivilegeSeparation, sUnprivUser, sUnprivGroup,
sDeprecated
} ServerOpCodes;
@@ -365,7 +362,6 @@ static struct {
{ "useprivilegeseparation", sUsePrivilegeSeparation},
{ "unprivuser", sUnprivUser},
{ "unprivgroup", sUnprivGroup},
- { "unprivdir", sUnprivDir},
{ NULL, sBadOption }
};
@@ -754,10 +750,6 @@ parse_flag:
intptr = &options->unprivileged_group;
goto parse_int;
- case sUnprivDir:
- charptr = &options->unprivileged_dir;
- goto parse_filename;
-
case sAllowUsers:
while ((arg = strdelim(&cp)) && *arg != '\0') {
if (options->num_allow_users >= MAX_ALLOW_USERS)