diff options
author | Jonas Smedegaard <dr@jones.dk> | 2003-12-17 14:53:28 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2003-12-17 14:53:28 +0000 |
commit | ff3c0364966a71a6919114e3c0728417d6177e57 (patch) | |
tree | 71703aa6b165b8d7dc6a82f8c3a53d26dd283ca4 /localdeluser | |
parent | d5236b612903840e41337e81577ae4a16c8aeabf (diff) |
New commands for user handling through sudo.
Diffstat (limited to 'localdeluser')
-rwxr-xr-x | localdeluser | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/localdeluser b/localdeluser new file mode 100755 index 0000000..e6b6b6f --- /dev/null +++ b/localdeluser @@ -0,0 +1,14 @@ +#!/bin/sh +# +# /usr/local/bin/localdeluser +# Copyright 2003 Jonas Smedegaard <dr@jones.dk> +# +# $Id: localdeluser,v 1.1 2003-12-17 14:53:28 jonas Exp $ +# +# Execute deluser through sudo +# +# TODO: Check for bad arguments +# TODO: Only allow deleting regular users +# + +exec sudo /usr/sbin/adduser $1 |