Lines Matching refs: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
93 static char **shells, *strings;
98 * Get a list of shells from SHELLS, if it exists.
117 if (shells != NULL)
118 (void) free((char *)shells);
119 shells = NULL;
140 if (shells != NULL)
141 (void) free((char *)shells);
142 shells = NULL;
165 shells = calloc((size_t)statb.st_size / 3, sizeof (char *));
166 if (shells == NULL) {
172 sp = shells;
186 return (shells);