diff options
| author | Ceri Davies <ceri@FreeBSD.org> | 2007-06-11 18:36:39 +0000 |
|---|---|---|
| committer | Ceri Davies <ceri@FreeBSD.org> | 2007-06-11 18:36:39 +0000 |
| commit | 3213dc8412824764919f6bcffc91b066cc8cf1e1 (patch) | |
| tree | 57752bea8c95ae686e215496fa72259ea3b74e5f | |
| parent | 56b8f0b02dd99bc2723903daecc35c83021e9055 (diff) | |
Notes
| -rw-r--r-- | etc/group | 1 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/anonFTP.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/etc/group b/etc/group index 007acac5a219..044c9f10e143 100644 --- a/etc/group +++ b/etc/group @@ -11,6 +11,7 @@ bin:*:7: news:*:8: man:*:9: games:*:13: +ftp:*:14: staff:*:20: sshd:*:22: smmsp:*:25: diff --git a/usr.sbin/sysinstall/anonFTP.c b/usr.sbin/sysinstall/anonFTP.c index 74270768b4c1..2eaf636a6a85 100644 --- a/usr.sbin/sysinstall/anonFTP.c +++ b/usr.sbin/sysinstall/anonFTP.c @@ -49,8 +49,8 @@ /* These change if we want to use different defaults */ #define FTP_UID 14 -#define FTP_GID 5 -#define FTP_GROUP "operator" +#define FTP_GID 14 +#define FTP_GROUP "ftp" #define FTP_UPLOAD "incoming" #define FTP_COMMENT "Anonymous FTP Admin" #define FTP_HOMEDIR "/var/ftp" @@ -148,7 +148,7 @@ createFtpUser(void) else if (!getgrgid(gid)) { /* group does not exist, create it by number */ - tptr = msgGetInput("14", "What group name to use for gid %d ?", gid); + tptr = msgGetInput("ftp", "What group name to use for gid %d ?", gid); if (tptr && *tptr) { SAFE_STRCPY(tconf.group, tptr); if ((tgrp = getgrnam(tconf.group))) { |
