From 5dd5cdca60fb6a5c29d1f696f25d85c745d4d701 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sat, 15 Jun 1996 17:58:51 +0000 Subject: [PATCH] Change default user/group to ones that actually exist in default passwd file. --- release/sysinstall/apache.c | 6 +++--- release/sysinstall/config.c | 6 ++++-- usr.sbin/sade/config.c | 6 ++++-- usr.sbin/sysinstall/config.c | 6 ++++-- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/release/sysinstall/apache.c b/release/sysinstall/apache.c index ee3a2c2a395f..657f476df156 100644 --- a/release/sysinstall/apache.c +++ b/release/sysinstall/apache.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: apache.c,v 1.22 1996/04/29 19:34:23 jkh Exp $ + * $Id: apache.c,v 1.23 1996/06/08 12:01:23 jkh Exp $ * * Copyright (c) 1995 * Coranth Gryphon. All rights reserved. @@ -53,8 +53,8 @@ /* These change if the package uses different defaults */ -#define DEFAULT_USER "guest" -#define DEFAULT_GROUP "guest" +#define DEFAULT_USER "bin" +#define DEFAULT_GROUP "bin" #define WELCOME_FILE "index.html" #define USER_HOMEDIR "public_html" diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c index df82a66221c7..2c8223371711 100644 --- a/release/sysinstall/config.c +++ b/release/sysinstall/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.35 1996/06/12 14:20:16 jkh Exp $ + * $Id: config.c,v 1.36 1996/06/13 17:36:26 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -587,8 +587,10 @@ configPCNFSD(dialogMenuItem *self) variable_unset(VAR_PCNFSD); else { ret = package_add("pcnfsd-93.02.16"); - if (DITEM_STATUS(ret) == DITEM_SUCCESS) + if (DITEM_STATUS(ret) == DITEM_SUCCESS) { variable_set2(VAR_PCNFSD, "YES"); + variable_set2("weak_mountd_authentication", "YES"); + } } return ret; } diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index df82a66221c7..2c8223371711 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.35 1996/06/12 14:20:16 jkh Exp $ + * $Id: config.c,v 1.36 1996/06/13 17:36:26 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -587,8 +587,10 @@ configPCNFSD(dialogMenuItem *self) variable_unset(VAR_PCNFSD); else { ret = package_add("pcnfsd-93.02.16"); - if (DITEM_STATUS(ret) == DITEM_SUCCESS) + if (DITEM_STATUS(ret) == DITEM_SUCCESS) { variable_set2(VAR_PCNFSD, "YES"); + variable_set2("weak_mountd_authentication", "YES"); + } } return ret; } diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index df82a66221c7..2c8223371711 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.35 1996/06/12 14:20:16 jkh Exp $ + * $Id: config.c,v 1.36 1996/06/13 17:36:26 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -587,8 +587,10 @@ configPCNFSD(dialogMenuItem *self) variable_unset(VAR_PCNFSD); else { ret = package_add("pcnfsd-93.02.16"); - if (DITEM_STATUS(ret) == DITEM_SUCCESS) + if (DITEM_STATUS(ret) == DITEM_SUCCESS) { variable_set2(VAR_PCNFSD, "YES"); + variable_set2("weak_mountd_authentication", "YES"); + } } return ret; }