diff options
| author | Philippe Charnier <charnier@FreeBSD.org> | 2004-01-18 21:29:33 +0000 |
|---|---|---|
| committer | Philippe Charnier <charnier@FreeBSD.org> | 2004-01-18 21:29:33 +0000 |
| commit | c433c9daacf283fde6af4a9a1a2dde5e3e6458e8 (patch) | |
| tree | e49fa45be9f4273a8d00600032cc233f2a5ca816 | |
| parent | f434362a8a24554a984dad6fd773a2eabf85206b (diff) | |
Notes
| -rw-r--r-- | libexec/ftpd/ftpd.c | 1 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/user.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 7d685b5de1dd2..68899ddea10ad 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1015,6 +1015,7 @@ user(char *name) if ((pw = sgetpwnam(name))) { if ((shell = pw->pw_shell) == NULL || *shell == 0) shell = _PATH_BSHELL; + setusershell(); while ((cp = getusershell()) != NULL) if (strcmp(cp, shell) == 0) break; diff --git a/usr.sbin/sysinstall/user.c b/usr.sbin/sysinstall/user.c index 3e4a65cb403de..1b0b845ae9e86 100644 --- a/usr.sbin/sysinstall/user.c +++ b/usr.sbin/sysinstall/user.c @@ -426,6 +426,7 @@ verifyUserSettings(WINDOW *ds_win) return 0; } if (strlen(shell) > 0) { + setusershell(); while((cp = getusershell()) != NULL) if (strcmp(cp, shell) == 0) break; |
