1case $CONFIG in 2'') 3 if test -f config.sh; then TOP=.; 4 elif test -f ../config.sh; then TOP=..; 5 elif test -f ../../config.sh; then TOP=../..; 6 elif test -f ../../../config.sh; then TOP=../../..; 7 elif test -f ../../../../config.sh; then TOP=../../../..; 8 else 9 echo "Can't find config.sh."; exit 1 10 fi 11 . $TOP/config.sh 12 ;; 13esac 14case "$0" in 15*/*) cd `expr X$0 : 'X\(.*\)/'` ;; 16esac 17echo "Extracting agent/files/help/password (with variable substitutions)" 18$spitshell >/dev/null <<!GROK!THIS! 19# $Id$ 20# 21# Copyright (c) 1990-2006, Raphael Manfredi 22# 23# You may redistribute only under the terms of the Artistic License, 24# as specified in the README file that comes with the distribution. 25# You may reuse parts of this distribution only within the terms of 26# that same Artistic License; a copy of which may be found at the root 27# of the source tree for mailagent 3.0. 28# 29# $Log: password.SH,v $ 30# Revision 3.0 1993/11/29 13:47:57 ram 31# Baseline for mailagent 3.0 netwide release. 32# 33!GROK!THIS! 34$spitshell >password <<'!NO!SUBS!' 35NAME 36 37 password -- Sets new power password 38 39SYNOPSIS 40 41 password power new 42 43DESCRIPTION 44 45This command sets a new power password. You usually need the corresponding 46power or have the 'system' power, hence showing you know the password for 47that power or have greater privileges. 48 49To change the 'root' and 'security' passwords, you need the corresponding 50power. 51 52EXAMPLE 53 54 password list-power mypass 55!NO!SUBS! 56chmod 644 password 57