[Lunar-commits] CVS: moonbase/security/shadow securetty, NONE, 1.1 BUILD, 1.9, 1.10

Auke Kok sofar at lunar-linux.org
Sun Nov 14 16:35:42 UTC 2004


Update of /var/cvs/lunar/moonbase/security/shadow
In directory espresso.foo-projects.org:/tmp/cvs-serv31361

Modified Files:
	BUILD 
Added Files:
	securetty 
Log Message:
Add a default securetty. The default might be too restrictive but it's a good start.


--- NEW FILE: securetty ---
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/security/shadow/BUILD,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- BUILD	2 Nov 2004 15:54:52 -0000	1.9
+++ BUILD	14 Nov 2004 16:35:40 -0000	1.10
@@ -32,6 +32,7 @@
   [  -e  /etc/login.defs       ]  ||  cp  login.defs.linux  /etc/login.defs
   [  -e  /etc/defaults         ]  ||  mkdir                 /etc/defaults
   [  -f  /usr/sbin/vigr        ]  ||  ln  /usr/sbin/vipw    /usr/sbin/vigr
+  [  -f  /etc/securetty        ]  ||  cp  $SCRIPT_DIRECTORY/securetty /etc
 
   sedit "s/CRACKLIB_DICTPATH	\/var\/cache\/cracklib\/cracklib_dict/CRACKLIB_DICTPATH	\/usr\/share\/dict\/pw_dict/" /etc/login.defs
   sedit "s/#MD5_CRYPT_ENAB	no/MD5_CRYPT_ENAB	yes/" /etc/login.defs



More information about the Lunar-commits mailing list