summaryrefslogtreecommitdiff
path: root/localpasswd
blob: c216bf75274f3b4ff3bfe81496858b220f26124e (plain)
  1. #!/bin/sh
  2. #
  3. # /usr/local/bin/localpasswd
  4. # Copyright 2003 Jonas Smedegaard <dr@jones.dk>
  5. #
  6. # $Id: localpasswd,v 1.1 2003-12-17 14:53:28 jonas Exp $
  7. #
  8. # Execute passwd through sudo
  9. #
  10. # TODO: Check for bad arguments
  11. # TODO: Only allow handling regular users
  12. #
  13. exec sudo /usr/bin/passwd $1