summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-07-31 21:16:13 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-07-31 21:16:13 +0000
commit831d8efc404fd40bdfc591f59b4ec976944cfcde (patch)
tree7f4431658766441b346114e35cf0b875b9baf35e /sys-apps/shadow
parent*** empty log message *** (diff)
downloadgentoo-2-831d8efc404fd40bdfc591f59b4ec976944cfcde.tar.gz
gentoo-2-831d8efc404fd40bdfc591f59b4ec976944cfcde.tar.bz2
gentoo-2-831d8efc404fd40bdfc591f59b4ec976944cfcde.zip
added devfs vc/? device names to securetty
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r--sys-apps/shadow/files/securetty26
-rw-r--r--sys-apps/shadow/shadow-20001016-r4.ebuild (renamed from sys-apps/shadow/shadow-20001016-r3.ebuild)7
2 files changed, 31 insertions, 2 deletions
diff --git a/sys-apps/shadow/files/securetty b/sys-apps/shadow/files/securetty
new file mode 100644
index 000000000000..1875081b5cbc
--- /dev/null
+++ b/sys-apps/shadow/files/securetty
@@ -0,0 +1,26 @@
+# /etc/securetty: list of terminals on which root is allowed to login.
+# See securetty(5) and login(1).
+vc/1
+vc/2
+vc/3
+vc/4
+vc/5
+vc/6
+vc/7
+vc/8
+vc/9
+vc/10
+vc/11
+vc/12
+tty1
+tty2
+tty3
+tty4
+tty5
+tty6
+tty7
+tty8
+tty9
+tty10
+tty11
+tty12
diff --git a/sys-apps/shadow/shadow-20001016-r3.ebuild b/sys-apps/shadow/shadow-20001016-r4.ebuild
index e46a5698d581..d970778a7593 100644
--- a/sys-apps/shadow/shadow-20001016-r3.ebuild
+++ b/sys-apps/shadow/shadow-20001016-r4.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-20001016-r3.ebuild,v 1.3 2001/04/21 00:03:40 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-20001016-r4.ebuild,v 1.1 2001/07/31 21:16:13 drobbins Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -63,7 +63,10 @@ src_install() {
doins limits shells
insopts -m0600
doins login.access
- doins ${S}/debian/securetty
+ #doins ${S}/debian/securetty
+ #Now using a new securetty with devfs device names added
+ #(compat names kept for non-devfs compatibility)
+ doins ${FILESDIR}/securetty
cd pam.d
insinto /etc/pam.d