summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/security4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security
index db773beef19..225e057bbbc 100644
--- a/etc/security
+++ b/etc/security
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: security,v 1.64 2003/07/07 15:35:55 millert Exp $
+# $OpenBSD: security,v 1.65 2003/11/28 07:32:12 sturm Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -108,7 +108,7 @@ awk -F: '{
next;
if (NF != 4)
printf("Line %d has the wrong number of fields:\n%s\n", NR, $0);
- if ($1 !~ /^[A-za-z0-9][A-za-z0-9_-]*$/)
+ if ($1 !~ /^[A-Za-z0-9_][A-Za-z0-9_\-\.]*$/)
printf("Group %s has non-alphanumeric characters.\n", $1);
if (length($1) > 31)
printf("Group %s has more than 31 characters.\n", $1);