summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-11-11 11:49:22 +0000
committerjkh <jkh@FreeBSD.org>1995-11-11 11:49:22 +0000
commita63e736d209bc2c84ab369b95b612269eab9492d (patch)
treed0179a98d488491a7db556641ae617a5bda3bb32 /usr.sbin
parentff6d25c02254e54ca97aa9bc02abc84a3ff82f62 (diff)
downloadFreeBSD-src-a63e736d209bc2c84ab369b95b612269eab9492d.zip
FreeBSD-src-a63e736d209bc2c84ab369b95b612269eab9492d.tar.gz
Fix some missing parameters to the anon ftp setup area.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sysinstall/anonFTP.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/sysinstall/anonFTP.c b/usr.sbin/sysinstall/anonFTP.c
index aa76639..2b2c31c 100644
--- a/usr.sbin/sysinstall/anonFTP.c
+++ b/usr.sbin/sysinstall/anonFTP.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: anonFTP.c,v 1.2 1995/11/10 04:43:47 jkh Exp $
+ * $Id: anonFTP.c,v 1.3 1995/11/11 10:59:23 jkh Exp $
*
* Copyright (c) 1995
* Coranth Gryphon. All rights reserved.
@@ -471,9 +471,9 @@ configAnonFTP(char *unused)
if (createFtpUser() == RET_SUCCESS)
{
- vsystem("cp /etc/pwd.db %s/etc && chmod 444 %s/etc/pwd.db",tconf.homedir);
- vsystem("cp /etc/passwd %s/etc && chmod 444 %s/etc/passwd",tconf.homedir);
- vsystem("cp /etc/group %s/etc && chmod 444 %s/etc/group", tconf.homedir);
+ vsystem("cp /etc/pwd.db %s/etc && chmod 444 %s/etc/pwd.db", tconf.homedir, tconf.homedir);
+ vsystem("cp /etc/passwd %s/etc && chmod 444 %s/etc/passwd",tconf.homedir, tconf.homedir);
+ vsystem("cp /etc/group %s/etc && chmod 444 %s/etc/group", tconf.homedir, tconf.homedir);
vsystem("chown -R %s.%s %s/pub", FTP_NAME, tconf.group, tconf.homedir);
}
else
@@ -486,7 +486,7 @@ configAnonFTP(char *unused)
if (!msgYesNo("Create a welcome message file for anonymous FTP users?"))
{
vsystem("echo Your welcome message here. > %s/etc/%s", tconf.homedir, MOTD_FILE);
- vsystem("ee %s/etc/%s", tconf.homedir, MOTD_FILE);
+ vsystem("/stand/ee %s/etc/%s", tconf.homedir, MOTD_FILE);
}
}
else {
OpenPOWER on IntegriCloud