Server Management - Systems Insight Manager
1834382 Members
2080 Online
110066 Solutions
New Discussion

Re: Hide or encrypt input on a custom command?

 
michael_522
New Member

Hide or encrypt input on a custom command?

I have created a reboot/shutdown custom command for windows servers. The command prompts you for credentials, including password. Is there any way to mask that text that the user is typing? A follow up to that, is there a way not to have the command that is being run show up on the HPSIM log files, becuase the command does include the userid and password. Thanks in advance...
4 REPLIES 4
David Claypool
Honored Contributor

Re: Hide or encrypt input on a custom command?

The only way that I can think of would require OpenSSH to be available at each of the nodes and for it to trust HP SIM. When you invoked a command (would be the subtly different 'Command Line Tools' as opposed to 'Custom Command') no credentials would need to be passed because of the key trust.
michael_522
New Member

Re: Hide or encrypt input on a custom command?

Well, the credentials need to be typed in because there are multiple windows domains that are managed and the credentials to use are server or target list dependant. Also, if I choose from the menu items to install OpenSSH, the page that displays asks for id, domain, and password. The password field is '*' out as I type. Is there any way to accomplish the same thing on a CC field?
David Claypool
Honored Contributor

Re: Hide or encrypt input on a custom command?

Your point about the 'Install OpenSSH' is a good one, but the feature that it uses is not available without programming. In other words, it can't be accessed using a tool definition.

It doesn't matter if each system were to have an individual password; when distributing the SSH key for trust it will require the credentials for the remote system and thereafter it's done based on trust relationships, not passwords.
David Claypool
Honored Contributor

Re: Hide or encrypt input on a custom command?

Bumped to be above moved questions...