* Rename the pwdutils' module to shadow'.

svn path=/nixos/trunk/; revision=22109
This commit is contained in:
Eelco Dolstra 2010-06-02 21:16:27 +00:00
parent c089738bdc
commit 0cdce12006
3 changed files with 24 additions and 20 deletions

View file

@ -29,7 +29,7 @@
./programs/bash/bash.nix
./programs/blcr.nix
./programs/info.nix
./programs/pwdutils/pwdutils.nix
./programs/shadow.nix
./programs/ssh.nix
./programs/ssmtp.nix
./rename.nix

View file

@ -1,18 +0,0 @@
DEFAULT_HOME yes
SYS_UID_MIN 100
SYS_UID_MAX 499
UID_MIN 1000
UID_MAX 29999
SYS_GID_MIN 100
SYS_GID_MAX 499
GID_MIN 1000
GID_MAX 29999
TTYGROUP tty
TTYPERM 0620
# Uncomment this to allow non-root users to change their account
#information. This should be made configurable.
#CHFN_RESTRICT frwh

View file

@ -4,6 +4,28 @@
let
loginDefs =
''
DEFAULT_HOME yes
SYS_UID_MIN 100
SYS_UID_MAX 499
UID_MIN 1000
UID_MAX 29999
SYS_GID_MIN 100
SYS_GID_MAX 499
GID_MIN 1000
GID_MAX 29999
TTYGROUP tty
TTYPERM 0620
# Uncomment this to allow non-root users to change their account
#information. This should be made configurable.
#CHFN_RESTRICT frwh
'';
in
{
@ -35,7 +57,7 @@ in
environment.etc =
[ { # /etc/login.defs: global configuration for pwdutils. You
# cannot login without it!
source = ./login.defs;
source = pkgs.writeText "login.defs" loginDefs;
target = "login.defs";
}