diff options
author | Stephen Klimaszewski <steev@gentoo.org> | 2006-10-30 17:55:57 +0000 |
---|---|---|
committer | Stephen Klimaszewski <steev@gentoo.org> | 2006-10-30 17:55:57 +0000 |
commit | 5eb16f7956dfe039db06aacf3f7604a55af32ba3 (patch) | |
tree | 32d6360c9acaf9d9040e3deef0ff9db4a9e9c31b /sys-auth | |
parent | Stable on ppc wrt bug 153301 (diff) | |
download | historical-5eb16f7956dfe039db06aacf3f7604a55af32ba3.tar.gz historical-5eb16f7956dfe039db06aacf3f7604a55af32ba3.tar.bz2 historical-5eb16f7956dfe039db06aacf3f7604a55af32ba3.zip |
Add various files necessary to make pam_console work out of the box.
Package-Manager: portage-2.1.1-r1
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pam_console/ChangeLog | 10 | ||||
-rw-r--r-- | sys-auth/pam_console/Manifest | 42 | ||||
-rw-r--r-- | sys-auth/pam_console/files/gdm | 8 | ||||
-rw-r--r-- | sys-auth/pam_console/files/gdm-autologin | 8 | ||||
-rw-r--r-- | sys-auth/pam_console/files/login | 24 | ||||
-rw-r--r-- | sys-auth/pam_console/files/pam_console.dev | 2 | ||||
-rw-r--r-- | sys-auth/pam_console/pam_console-0.99.6.2.3.6.ebuild | 8 |
7 files changed, 82 insertions, 20 deletions
diff --git a/sys-auth/pam_console/ChangeLog b/sys-auth/pam_console/ChangeLog index 3716be86715d..eb03352ead3b 100644 --- a/sys-auth/pam_console/ChangeLog +++ b/sys-auth/pam_console/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-auth/pam_console # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_console/ChangeLog,v 1.6 2006/10/30 17:07:20 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_console/ChangeLog,v 1.7 2006/10/30 17:55:57 steev Exp $ + + 30 Oct 2006; Steev Klimaszewski <steev@gentoo.org> +files/gdm, + +files/gdm-autologin, +files/login, +files/pam_console.dev, + pam_console-0.99.6.2.3.6.ebuild: + We will now install gdm/gdm-autologin and login files for pam that enable + pam_console when pam_console is emerged. We also create the pam_console.dev + file as well, so that this should work ootb after emerging (and logging out and + back in) 30 Oct 2006; Christian Faulhammer <opfer@gentoo.org> pam_console-0.99.6.2.3.6.ebuild: diff --git a/sys-auth/pam_console/Manifest b/sys-auth/pam_console/Manifest index 012c6c1f2228..fed8a08568f2 100644 --- a/sys-auth/pam_console/Manifest +++ b/sys-auth/pam_console/Manifest @@ -1,19 +1,32 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX gdm 315 RMD160 64c9e5b13cd5d96c6eaa90fded754964b531e68e SHA1 c7b4d03c9a6c0e948b9a267fa9df5fd87b6ee12c SHA256 a8a126a88f6b7fcd5083e3314f96b2a395c45a0cfa96457c1620faddeb5bce4d +MD5 94275e10b13bcaf4add841c9b44ec50d files/gdm 315 +RMD160 64c9e5b13cd5d96c6eaa90fded754964b531e68e files/gdm 315 +SHA256 a8a126a88f6b7fcd5083e3314f96b2a395c45a0cfa96457c1620faddeb5bce4d files/gdm 315 +AUX gdm-autologin 325 RMD160 6f108597f50747be808c8c15339b8b93595e52dc SHA1 43e55a3b9be5afa19839096546c28905a15adfa2 SHA256 30f2782b734d53b7154ad69c6dffe5093d72afd7d2ec24f851be6401d0d0378a +MD5 bd4f369cebd5c0539507d24aeed740cd files/gdm-autologin 325 +RMD160 6f108597f50747be808c8c15339b8b93595e52dc files/gdm-autologin 325 +SHA256 30f2782b734d53b7154ad69c6dffe5093d72afd7d2ec24f851be6401d0d0378a files/gdm-autologin 325 +AUX login 762 RMD160 76783916fceb4b0b74ccd1b6132ee14766f7bdba SHA1 447afc8415a911809e0dedda8a992c2ece731d1a SHA256 e4eb8240678225922f174b572bd880399de99e49fcdc9bd050af13dcb61bd0a8 +MD5 553dd5371d45992c53aea4436406c426 files/login 762 +RMD160 76783916fceb4b0b74ccd1b6132ee14766f7bdba files/login 762 +SHA256 e4eb8240678225922f174b572bd880399de99e49fcdc9bd050af13dcb61bd0a8 files/login 762 AUX pam_console-configure.ac 498 RMD160 f958e3e1139a8ae1b5227f7ec934874c423b0b80 SHA1 dbec2cb7c259c83e6531e3e32fdcc6c080c706b6 SHA256 f4d61d715a5c2e3de160ca424d743343f2ee08a7fb77b1ad9b594a0ebba69103 MD5 b991a702cbb9bc19b1fbaf6c0f1ef3f8 files/pam_console-configure.ac 498 RMD160 f958e3e1139a8ae1b5227f7ec934874c423b0b80 files/pam_console-configure.ac 498 SHA256 f4d61d715a5c2e3de160ca424d743343f2ee08a7fb77b1ad9b594a0ebba69103 files/pam_console-configure.ac 498 +AUX pam_console.dev 45 RMD160 c221dbd4e40bdd5b90fa6463454f7a260069d7a2 SHA1 627ad585c2530ff4df72caa9ed92efc2b19ed181 SHA256 1dee624bd0033cb98b20dc53ed873cce748c2fb95b0e937068a98274c65ba74b +MD5 4c02ca2fe2845df715de120664e5d7ed files/pam_console.dev 45 +RMD160 c221dbd4e40bdd5b90fa6463454f7a260069d7a2 files/pam_console.dev 45 +SHA256 1dee624bd0033cb98b20dc53ed873cce748c2fb95b0e937068a98274c65ba74b files/pam_console.dev 45 DIST pam-0.99.6.2-3.fc6.src.rpm 7099109 RMD160 dc17c28dd5aac8fb17dd961392aa714522bd4010 SHA1 2c729e5b9f288d2e1c5c875781fcb6a6cbe68b9e SHA256 140a20ad33398974ac5609795f7f9ba1c68a89a02002d6bfcd4ffeb0d2c5bd6c -EBUILD pam_console-0.99.6.2.3.6.ebuild 1322 RMD160 808088a25c464abde0b079f4424c00c6ac332acf SHA1 cbee61ce1b312855e064f9bdfb47f544e453e6d4 SHA256 92722c891695f3d47482755bd7287ee530a8cc27a28cf86ff0d8d5b8f65ec77e -MD5 cee8c30d17ccb9c85a4a35bd55e5297d pam_console-0.99.6.2.3.6.ebuild 1322 -RMD160 808088a25c464abde0b079f4424c00c6ac332acf pam_console-0.99.6.2.3.6.ebuild 1322 -SHA256 92722c891695f3d47482755bd7287ee530a8cc27a28cf86ff0d8d5b8f65ec77e pam_console-0.99.6.2.3.6.ebuild 1322 -MISC ChangeLog 1137 RMD160 9b74c12c78242e95720691710586d08d24bfa128 SHA1 0a40b5332953af195466457ba29bdd1c6ba3b12e SHA256 c9c31a9870909633a24dda6b8b4b22267d19c97cc4e3d3d2fa12003e1762d310 -MD5 914c84343817f459d21f946559e633c9 ChangeLog 1137 -RMD160 9b74c12c78242e95720691710586d08d24bfa128 ChangeLog 1137 -SHA256 c9c31a9870909633a24dda6b8b4b22267d19c97cc4e3d3d2fa12003e1762d310 ChangeLog 1137 +EBUILD pam_console-0.99.6.2.3.6.ebuild 1487 RMD160 781f0b6283e9cda4112f7d8ebbd29f77259ba812 SHA1 8932bf62cf458c361ba7bf317981ef58219af23e SHA256 0552ba3932322bb7af62caf9a4fa36b95063cd2c72d440a84ce0b08bda93f9dc +MD5 5c5feb891bb6c230f70328be5a120bb1 pam_console-0.99.6.2.3.6.ebuild 1487 +RMD160 781f0b6283e9cda4112f7d8ebbd29f77259ba812 pam_console-0.99.6.2.3.6.ebuild 1487 +SHA256 0552ba3932322bb7af62caf9a4fa36b95063cd2c72d440a84ce0b08bda93f9dc pam_console-0.99.6.2.3.6.ebuild 1487 +MISC ChangeLog 1548 RMD160 2b445209b525bc16c9451f79f94aec16f5a6209e SHA1 1807b80783acdc73a39ca11599d72e26a77d7969 SHA256 989eb5b8c3a6a605c266abf29abfbdd96b6b29710634bb55e7df3d360d39d16d +MD5 b1602c71525b4467b926c1368b5abaf1 ChangeLog 1548 +RMD160 2b445209b525bc16c9451f79f94aec16f5a6209e ChangeLog 1548 +SHA256 989eb5b8c3a6a605c266abf29abfbdd96b6b29710634bb55e7df3d360d39d16d ChangeLog 1548 MISC metadata.xml 218 RMD160 1955c7446d4ceb77506ba7b58ee35913c576a72c SHA1 02dacc356a39905402083cb54ae4f6dd0ac59fad SHA256 e0bb49cab71cc84d8bdad26876197164073722b378d27a5bf55bbfd2afdbd19c MD5 393d06cf4b76671f8e6ce72ac71bdad8 metadata.xml 218 RMD160 1955c7446d4ceb77506ba7b58ee35913c576a72c metadata.xml 218 @@ -21,10 +34,3 @@ SHA256 e0bb49cab71cc84d8bdad26876197164073722b378d27a5bf55bbfd2afdbd19c metadata MD5 ba861422e61bbc47b63fcfd51a81989f files/digest-pam_console-0.99.6.2.3.6 262 RMD160 36a95a512aff6de46de4550ef62a5c18605cfa9c files/digest-pam_console-0.99.6.2.3.6 262 SHA256 752d62421b1e3b1cad5ccc201ffbdfc72c95ad041040ba3cfa662807107886ae files/digest-pam_console-0.99.6.2.3.6 262 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFRjEoNQqtfCuFneMRAouOAJ94HBSAO79pM01GtaP5SCxg9eVdBwCfYaSF -evFQVE8CgN7wrcln8ThLwHM= -=DO9U ------END PGP SIGNATURE----- diff --git a/sys-auth/pam_console/files/gdm b/sys-auth/pam_console/files/gdm new file mode 100644 index 000000000000..90661abec431 --- /dev/null +++ b/sys-auth/pam_console/files/gdm @@ -0,0 +1,8 @@ +#%PAM-1.0 +auth optional pam_env.so +auth include system-auth +auth required pam_nologin.so +account include system-auth +password include system-auth +session include system-auth +session optional pam_console.so diff --git a/sys-auth/pam_console/files/gdm-autologin b/sys-auth/pam_console/files/gdm-autologin new file mode 100644 index 000000000000..be27cb4d6999 --- /dev/null +++ b/sys-auth/pam_console/files/gdm-autologin @@ -0,0 +1,8 @@ +#%PAM-1.0 +auth optional pam_env.so +auth required pam_nologin.so +auth required pam_permit.so +account include system-auth +password include system-auth +session include system-auth +session optional pam_console.so diff --git a/sys-auth/pam_console/files/login b/sys-auth/pam_console/files/login new file mode 100644 index 000000000000..1eec057e65e0 --- /dev/null +++ b/sys-auth/pam_console/files/login @@ -0,0 +1,24 @@ +#%PAM-1.0 + +auth required pam_securetty.so +auth include system-auth +auth required pam_tally.so file=/var/log/faillog onerr=succeed no_magic_root +auth required pam_shells.so +auth required pam_nologin.so + +account required pam_access.so +account include system-auth +account required pam_tally.so deny=0 file=/var/log/faillog onerr=succeed no_magic_root + +password include system-auth + +session include system-auth +session required pam_env.so +session optional pam_lastlog.so +session optional pam_motd.so motd=/etc/motd +session optional pam_mail.so + +# If you want to enable pam_console, uncomment the following line +# and read carefully README.pam_console in /usr/share/doc/pam* +session optional pam_console.so + diff --git a/sys-auth/pam_console/files/pam_console.dev b/sys-auth/pam_console/files/pam_console.dev new file mode 100644 index 000000000000..beb36ceecfb8 --- /dev/null +++ b/sys-auth/pam_console/files/pam_console.dev @@ -0,0 +1,2 @@ +#!/bin/bash +exec /usr/sbin/pam_console_apply diff --git a/sys-auth/pam_console/pam_console-0.99.6.2.3.6.ebuild b/sys-auth/pam_console/pam_console-0.99.6.2.3.6.ebuild index aaf34671ea7c..30ff357980c0 100644 --- a/sys-auth/pam_console/pam_console-0.99.6.2.3.6.ebuild +++ b/sys-auth/pam_console/pam_console-0.99.6.2.3.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_console/pam_console-0.99.6.2.3.6.ebuild,v 1.5 2006/10/30 17:07:20 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_console/pam_console-0.99.6.2.3.6.ebuild,v 1.6 2006/10/30 17:55:57 steev Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" @@ -44,4 +44,10 @@ src_compile() { src_install() { emake -j1 DESTDIR="${D}" install || die "emake install failed" dodoc README + exeinto /etc/dev.d/default + doexec ${FILESDIR}/pam_console.dev + insinto /etc/pam.d + doins ${FILESDIR}/login + doins ${FILESDIR}/gdm + doins ${FILESDIR}/gdm-autologin } |