From 1d70d1dd0ad2a6f38baabf0d096c925def4e00a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 24 May 1998 15:57:31 +0000 Subject: [PATCH] Add a chkgrp run after backing up the passwd and group files. Suggested-by: Andreas Klemm --- etc/periodic/daily/200.backup-passwd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/etc/periodic/daily/200.backup-passwd b/etc/periodic/daily/200.backup-passwd index bc2f8e9e778..f699399b245 100755 --- a/etc/periodic/daily/200.backup-passwd +++ b/etc/periodic/daily/200.backup-passwd @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: 200.backup-passwd,v 1.1.1.1 1997/08/12 17:51:15 pst Exp $ +# $Id: 200.backup-passwd,v 1.1.1.1 1997/08/16 17:04:00 pst Exp $ # bak=/var/backups @@ -32,4 +32,10 @@ if [ -f /etc/master.passwd -o -f /etc/group ] ; then mv $bak/group.bak $bak/group.bak2 cp -p /etc/group $bak/group.bak fi + + if [ -f /etc/group ] ; then + echo "" + echo "Verifying group file syntax:" + chkgrp /etc/group + fi fi