WBEMfor Solaris on Sun Developer's Guide

Security Advisory for Using Passwords

If you run a command with the -p or the -up parameters, and you include a password, another user can run the ps command or the history command to find out your password.


Note -

If you run a command that requires you to provide your password, immediately change your password after running the command.



Example 3-1 Example of Unsafe Syntax

The following examples show use of the mofcomp command with the -p parameter:

mofcomp -p Log8Rif
and the -up parameters:
mofcomp -up molly Log8Rif

Change your password immediately after running the mofcomp command with the option to specify a password.