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