* Rename the pwdutils' module to
shadow'.
svn path=/nixos/trunk/; revision=22109
This commit is contained in:
parent
c089738bdc
commit
0cdce12006
@ -29,7 +29,7 @@
|
|||||||
./programs/bash/bash.nix
|
./programs/bash/bash.nix
|
||||||
./programs/blcr.nix
|
./programs/blcr.nix
|
||||||
./programs/info.nix
|
./programs/info.nix
|
||||||
./programs/pwdutils/pwdutils.nix
|
./programs/shadow.nix
|
||||||
./programs/ssh.nix
|
./programs/ssh.nix
|
||||||
./programs/ssmtp.nix
|
./programs/ssmtp.nix
|
||||||
./rename.nix
|
./rename.nix
|
||||||
|
@ -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
|
|
@ -4,6 +4,28 @@
|
|||||||
|
|
||||||
let
|
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
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -35,7 +57,7 @@ in
|
|||||||
environment.etc =
|
environment.etc =
|
||||||
[ { # /etc/login.defs: global configuration for pwdutils. You
|
[ { # /etc/login.defs: global configuration for pwdutils. You
|
||||||
# cannot login without it!
|
# cannot login without it!
|
||||||
source = ./login.defs;
|
source = pkgs.writeText "login.defs" loginDefs;
|
||||||
target = "login.defs";
|
target = "login.defs";
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user