=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/security,v retrieving revision 1.52 retrieving revision 1.53 diff -c -r1.52 -r1.53 *** src/etc/Attic/security 2002/07/17 01:32:04 1.52 --- src/etc/Attic/security 2002/07/23 18:26:35 1.53 *************** *** 1,6 **** #!/bin/sh - # ! # $OpenBSD: security,v 1.52 2002/07/17 01:32:04 jcs Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # --- 1,6 ---- #!/bin/sh - # ! # $OpenBSD: security,v 1.53 2002/07/23 18:26:35 pvalchev Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # *************** *** 52,57 **** --- 52,59 ---- printf("Login %s has a negative user ID.\n", $1); if ($4 < 0) printf("Login %s has a negative group ID.\n", $1); + if ($7 != 0 && system("test "$7" -lt `date +%s`") == 0) + printf("Login %s has expired.\n", $1); }' < $MP > $OUTPUT if [ -s $OUTPUT ] ; then echo "\nChecking the ${MP} file:"