sysusers: allow the shell to be specified
This is necessary for some system users where the "login shell" is set to a specific binary.
This commit is contained in:
@@ -645,6 +645,8 @@ bool valid_gecos(const char *d) {
|
||||
}
|
||||
|
||||
bool valid_home(const char *p) {
|
||||
/* Note that this function is also called by valid_shell(), any
|
||||
* changes must account for that. */
|
||||
|
||||
if (isempty(p))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user