version 1.31, 2007/11/17 16:47:21 |
version 1.32, 2009/03/05 20:53:13 |
|
|
*pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); |
*pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); |
} |
} |
/* Only admin can change "restricted" shells. */ |
/* Only admin can change "restricted" shells. */ |
else if (ok_shell(pw->pw_shell)) |
else if (ok_shell(pw->pw_shell, NULL)) |
/* |
/* |
* Make shell a restricted field. Ugly with a |
* Make shell a restricted field. Ugly with a |
* necklace, but there's not much else to do. |
* necklace, but there's not much else to do. |