Perhaps not a good idea considering telnet security.
IMO not an issue for people who store the root password in plain text in a variable....
--
Ronald Fischer <ynnor@mm.st>
| [reply] [d/l] |
Due to the relative sparseness of the question we've no idea how the password was supplied, if this is intended to check accounts on remote servers or any details about the code currently in use it is difficult to comment constructively other than advising against the use of any protocol where a password is sent plain text.
Adding one questionable approach to another is IMHO, not wise.
Martin
| [reply] |
Adding one questionable approach to another is IMHO, not wise.
There is certainly truth in it... It is just that since the OP emphasized that he has the password stored in plain text, it seemed to me that password security was not considered a big issue, and in this case Net::Telnet is available in Core, while the SSH stuff needs to be installed first. Maybe I'm spoiled by too many projects where root passwords were freely sent around unencrypted. But the suggestion to use SSH is certainly the better one, and in the end the OP has to decide for him/herself what to use...
--
Ronald Fischer <ynnor@mm.st>
| [reply] [d/l] |