#! /bin/sh

PASSWDFILE=./passwd

if test ! "$1"
then
  echo "usage: $0 command"
fi

cut -d: -f1 $PASSWDFILE |
while read login
do
  $1 $login
done

