]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Moved securetty to lfs/pam.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 May 2009 11:44:54 +0000 (13:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 May 2009 11:44:54 +0000 (13:44 +0200)
config/pam/securetty [moved from config/etc/securetty with 100% similarity]
lfs/pam

similarity index 100%
rename from config/etc/securetty
rename to config/pam/securetty
diff --git a/lfs/pam b/lfs/pam
index 7f028e39a99c957f26d9b6b4fbe5c9f173054696..5d794f959a0b0ec2bff6163a42cd406dfea712bd 100644 (file)
--- a/lfs/pam
+++ b/lfs/pam
@@ -93,8 +93,9 @@ $(OBJECT): $(objects)
 
        useradd -D -b /home
        sed -i 's/yes/no/' /etc/default/useradd
-       install -v -m644 $(DIR_CONFIG)/pam/login.defs /etc/login.defs
        install -v -m644 $(DIR_CONFIG)/pam/pam_env.conf /etc/security/pam_env.conf
+       cp -vf $(DIR_CONFIG)/$(PKG_NAME)/{login.defs,securetty} /etc
+
        install -v -d -m755 /etc/pam.d
        cp -vf $(DIR_CONFIG)/pam.d/{other,system-auth} /etc/pam.d/