blob: 46b07d534263be5010e62cd8573e1175aa1df057 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
case $CONFIG in
'')
if test -f config.sh; then TOP=.;
elif test -f ../config.sh; then TOP=..;
elif test -f ../../config.sh; then TOP=../..;
elif test -f ../../../config.sh; then TOP=../../..;
elif test -f ../../../../config.sh; then TOP=../../../..;
else
echo "Can't find config.sh."; exit 1
fi
. $TOP/config.sh
;;
esac
case "$0" in
*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
esac
echo "Extracting agent/files/help/delpower (with variable substitutions)"
$spitshell >/dev/null <<!GROK!THIS!
# $Id: delpower.SH 1 2006-08-24 13:24:12Z rmanfredi $
#
# Copyright (c) 1990-2006, Raphael Manfredi
#
# You may redistribute only under the terms of the Artistic License,
# as specified in the README file that comes with the distribution.
# You may reuse parts of this distribution only within the terms of
# that same Artistic License; a copy of which may be found at the root
# of the source tree for mailagent 3.0.
#
# $Log: delpower.SH,v $
# Revision 3.0 1993/11/29 13:47:55 ram
# Baseline for mailagent 3.0 netwide release.
#
!GROK!THIS!
$spitshell >delpower <<'!NO!SUBS!'
NAME
delpower -- Deletes a power from the system
SYNOPSIS
delpower power password [security]
DESCRIPTION
This command deletes a power and its associated clearance list. The 'system'
power is required to delete all powers but 'root' and 'security'.
The 'security' power may only be deleted by security and the 'root' power may
only be deleted when the security password is also specified.
EXAMPLE
delpower list list-password
!NO!SUBS!
chmod 644 delpower
|