
Page 5 of 16
If gzip is not present on your system, you can download it from the same site
www.sunfreeware.com and install it using
# pkgadd –d gzip-1.3.5-sol8-sparc-local
Please note, that the name may be slightly different. Then change to super user mode
by invoking the su command and type
# pkgadd –d sudo-1.6.7p5-sol8-sparc-local
The sudo package now installs to /usr/local system folder. You can now proceed
to the installation of pwdch.
5.2 PWDCH Installation
We recommend the pwdch password service utility to be installed by root to the
/usr/local folder. This may be performed by saving the tarball pwdch.tar to the
/usr/local folder and typing the command
# tar -xvf pwdch.tar
A new subfolder /usr/local/cms is created containing a shell script pwdch, two
executables pwdch_normal, pwdch_arrow and one example file example_passwd.
You may now safely remove the tarball with
# rm pwdch.tar
to finish the installation. If you desire to choose an alternate destination, you may do so
as there is no requirement from the application to be executed in a specific directory
except the program path defined in the shell script pwdch. You may easily change it
using a text editor such as
vi.
A second executable pwdch_arrow has been provided, as in some rare situations the
curses color settings are not properly reconstructed by certain terminal emulators. In
that case the selection bar stays invisible and the application becomes unusable. You
might then decide to use pwdch_arrow instead of pwdch_normal, as it does not rely
on coloring to provide a selection marker, it merely uses standard character to
resemble an arrow. We have never encountered that effect with AVAYA terminal
emulation applications. You may easily toggle between pwdch_normal and
pwdch_arrow without altering the entire configuration by modifying the startup script
pwdch.
5.3 SUDO Configuration
In order to allow pwdch to run in super user mode, sudo has to be configured properly.
This is achieved by changing to root using the su command and executing
# visudo
Do not attempt to change the /usr/local/etc/sudoers file manually as this
bypasses the syntax checker and may corrupt operation. In order to use visudo, you
should be confident with the vi editor. If you desire to change the default editor, please
consult the sudo documentation. To give a trusted user root access to pwdch, enter
the following line in the section >>User priviledge specification<<
<user> ALL=(root) NOPASSWD:/usr/local/cms/pwdch
Comentarios a estos manuales