Lines Matching defs:shells
26 #define SHELLS "/etc/shells"
29 * Do not add local shells here. They should be added in /etc/shells
31 * Do not add restricted shells:
35 * - by default, ftp in is allowed only for shells returned by
80 static char **shells, *strings;
85 * Get a list of shells from SHELLS, if it exists.
104 if (shells != NULL)
105 (void) free((char *)shells);
106 shells = NULL;
127 if (shells != NULL)
128 (void) free((char *)shells);
129 shells = NULL;
152 shells = calloc((size_t)statb.st_size / 3, sizeof (char *));
153 if (shells == NULL) {
159 sp = shells;
173 return (shells);