Merge pull request #2198 from offlinehacker/nixos/shadow/login_containers_fix
nixos: fix shell on conatiners
This commit is contained in:
commit
26d8f54587
@ -94,7 +94,7 @@ in
|
|||||||
groupmod = { rootOK = true; };
|
groupmod = { rootOK = true; };
|
||||||
groupmems = { rootOK = true; };
|
groupmems = { rootOK = true; };
|
||||||
groupdel = { rootOK = true; };
|
groupdel = { rootOK = true; };
|
||||||
login = { startSession = true; allowNullPassword = true; showMotd = true; updateWtmp = true; };
|
login = { startSession = !config.boot.isContainer; allowNullPassword = true; showMotd = true; updateWtmp = true; };
|
||||||
chpasswd = { rootOK = true; };
|
chpasswd = { rootOK = true; };
|
||||||
chgpasswd = { rootOK = true; };
|
chgpasswd = { rootOK = true; };
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user