summaryrefslogtreecommitdiff
path: root/localadduser
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2003-12-17 14:53:28 +0000
committerJonas Smedegaard <dr@jones.dk>2003-12-17 14:53:28 +0000
commitff3c0364966a71a6919114e3c0728417d6177e57 (patch)
tree71703aa6b165b8d7dc6a82f8c3a53d26dd283ca4 /localadduser
parentd5236b612903840e41337e81577ae4a16c8aeabf (diff)
New commands for user handling through sudo.
Diffstat (limited to 'localadduser')
-rwxr-xr-xlocaladduser13
1 files changed, 13 insertions, 0 deletions
diff --git a/localadduser b/localadduser
new file mode 100755
index 0000000..bf93954
--- /dev/null
+++ b/localadduser
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# /usr/local/bin/localadduser
+# Copyright 2003 Jonas Smedegaard <dr@jones.dk>
+#
+# $Id: localadduser,v 1.1 2003-12-17 14:53:28 jonas Exp $
+#
+# Execute adduser through sudo
+#
+# TODO: Check for bad arguments
+#
+
+exec sudo /usr/sbin/adduser $1