Merge pull request #2198 from offlinehacker/nixos/shadow/login_containers_fix

nixos: fix shell on conatiners
This commit is contained in:
Peter Simons 2014-04-10 12:39:19 +02:00
commit 26d8f54587

View File

@ -94,7 +94,7 @@ in
groupmod = { rootOK = true; };
groupmems = { 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; };
chgpasswd = { rootOK = true; };
};