X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fsuspenduser_gui.sh;fp=usr_sbin%2Fsuspenduser_gui.sh;h=0000000000000000000000000000000000000000;hb=c08b156abb0b2b1b1335cb1ada0c08758553238b;hp=0fb635398cbaef1b2492c37629715fd5b1a1c159;hpb=b0c3e5ff760f99d6ff7721852bc1a0d73c5ea201;p=grml-scripts.git diff --git a/usr_sbin/suspenduser_gui.sh b/usr_sbin/suspenduser_gui.sh deleted file mode 100755 index 0fb6353..0000000 --- a/usr_sbin/suspenduser_gui.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Filename: suspenduser_gui.sh -# Purpose: dialog interface for suspend user -# Authors: grml-team (grml.org), (c) Nico Golde , (c) Michael Prokop -# License: This file is licensed under the GPL v2. -################################################################################ - -PATH=${PATH:-'/usr/bin:/usr/sbin'} - -if [ "$(whoami)" != "root" ] ; then - echo "Error. You must be 'root' to run this command." >&2 - exit 1 -fi - -dialog --stdout --title "Suspend User" --msgbox "Welcome to Suspend User - -This script allows you to suspend a user from your system for -an indefinite time." 8 65 - -GETUSER=$(dialog --stdout --title "Suspend User" --inputbox "User to suspend:" 0 40) || exit 0 -SUSPENDUSER=${GETUSER%/*} -suspenduser.sh $SUSPENDUSER - -## END OF FILE #################################################################