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.
If you run a command that requires you to provide your password, immediately change your password after running the command.
The following examples show use of the mofcomp command with the -p parameter:
mofcomp -p Log8Rif |
mofcomp -up molly Log8Rif |
Change your password immediately after running the mofcomp command with the option to specify a password.