chiark-utils (3.0.0) unstable; urgency=low
- * Added sync-accounts.
- * Manpages for all of sync-accounts.
- * sync-accounts comments may be indented.
+ sync-accounts:
+ * Moved all files from old CVS repository into chiark-utils.
+ * Manpages for everything.
+ * /etc/sync-accounts comments may be indented.
+ * Copyright notices sorted out.
+ * sync-accounts.linux uses vipw, vigr.
--
#!/bin/sh
+# This is part of sync-accounts, a tool for synchronising UN*X password data.
+#
+# sync-accounts is
+# Copyright 1999-2000,2002 Ian Jackson <ian@davenant.greenend.org.uk>
+# Copyright 2000-2001 nCipher Corporation Ltd
+#
+# sync-accounts is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# sync-accounts is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should already have a copy of the GNU General Public License.
+# If not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# $Id: grab-account,v 1.3 2002-07-14 19:42:38 ianmdlvl Exp $
set -e
echo >&2 \
'usage: grab-account <localuser> <shorthostname> [<remoteuser>]
creates an entry in /etc/sync-accounts, and runs sync-accounts
-$Id: grab-account,v 1.2 1999-01-03 02:56:07 ian Exp $'
+$Id: grab-account,v 1.3 2002-07-14 19:42:38 ianmdlvl Exp $'
exit 1
fi
#!/usr/bin/perl
-# $Id: sync-accounts,v 1.20 2002-07-14 19:29:37 ianmdlvl Exp $
+# This is part of sync-accounts, a tool for synchronising UN*X password data.
#
-# Copyright 1999-2000,2002 Ian Jackson <ian@davenant.greenend.org.uk>
-# Copyright 2000-2001 nCipher Corporation Ltd
+# sync-accounts is
+# Copyright 1999-2000,2002 Ian Jackson <ian@davenant.greenend.org.uk>
+# Copyright 2000-2001 nCipher Corporation Ltd
#
-# This is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free
-# Software Foundation; either version 2, or (at your option) any later
-# version.
+# sync-accounts is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
#
-# This is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
+# sync-accounts is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
#
# You should already have a copy of the GNU General Public License.
# If not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# $Id: sync-accounts,v 1.21 2002-07-14 19:42:38 ianmdlvl Exp $
use POSIX;
# This is an example /etc/sync-accounts for Linux.
-lockpasswd link .lock
-lockgroup link .lock
+lockpasswd runvia vipw
+lockgroup runvia vigr
logfile /var/log/sync-accounts
uidmin 1000