Page 6 of 16
where <user> has to be replaced by the trusted user name. If you have installed
pwdch to an alternate location, the path has to be changed accordingly.
Please note, that this procedure has to be repeated for each trusted user to be in
charge of changing passwords. For complex configurations involving group settings
and similar advanced topics, we refer to sudo documentation and manual pages.
5.4 PWDCH Startup and Command Line Parameters
If you want to experiment with pwdch from the command line before adding it to the
CMS main menu, this section is for you. If you are not confident with terminals under
UNIX, please consult the next paragraph regarding terminal configuration first.
Assuming you are using an AT&T605BCT terminal (with AVAYA Terminal Emulator or
similar) first change your environment settings by
$ TERM=605
$ export TERM
If your backspace key only creates a series of ^H instead of deleting characters also
enter
$ stty erase ^H
where ^H is created by typing backspace once. You are now ready to use pwch.
To execute pwdch in life mode (as opposed to demo mode), simply enter
$ pwdch
from the command line. Please note, that executing pwdch in normal user mode might
result in errors when attempting to change a password. If you have already configured
sudo and you want to test the entire configuration, type
$ sudo /usr/local/cms/pwdch
instead. Always resemble the entire path as entered in visudo, otherwise sudo might
ask you after a password. If you configured the system to use a different path, you
have to use that instead the one given above.
In the following we will present some parameters and startup variants. Changing the
default settings by passing parameters switches pwdch to demo mode. For demo
mode you do not require root permissions. That's why the following command
statements are called without using sudo. If you are running Small or Medium
Business Versions, the demo mode also removes the user restriction. This allows
potential customer to extensively test navigation. The difference between life and demo
mode is, that in the latter no command (defaulted to /usr/bin/passwd) is executed.
Instead program name and path are displayed on the screen. In demo mode you can
be sure, that no alterations are performed even when executing as root.
Two parameters may be passed to pwdch
$ pwdch <passwd_equivalent> <command>
where <passwd_equivalent> may be any test file possessing the same structure as
/etc/passwd. By experimenting with customary test files, you may want to try out the
exclusion of users described later in this document. If you specify <command>, pwdch
displays the calling convention and passed parameters for that command. This option
Comentarios a estos manuales