in reply to Perl's Telnet vs. Expect Module
Think about what your program will be used for and what servers it will run on. Can you use rsh or rcp instead of telnet? Also, you're not doing whatever you're doing as root are you? Don't if you can avoid it. If possible, require that the password be passed in as an argument at invocation. It's far better than putting the root password to a cluster of servers as plain text in a script that may get passed around like a fattie at Snoop Dogg's house.
Even if you're working on an isolated LAN, you have to consider what happens if someone gains access to the LAN. It's far better to have a second (or third) line of defense than to have one password give access to the whole system.
-Logan
"What do I want? I'm an American. I want more."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl's Telnet vs. Expect Module
by gnork (Scribe) on Dec 03, 2003 at 11:55 UTC | |
by TASdvlper (Monk) on Dec 03, 2003 at 15:59 UTC | |
by gnork (Scribe) on Dec 03, 2003 at 16:54 UTC | |
by TASdvlper (Monk) on Dec 03, 2003 at 18:55 UTC | |
by TASdvlper (Monk) on Dec 04, 2003 at 00:24 UTC | |
by logan (Curate) on Dec 05, 2003 at 04:03 UTC |