[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: shell script to telnet to a linux box, add a user and then exit.. >?



| any one have any idea how id would make a shwell script to do the
| following...?
| 
| telnet to a linux box
| enter a valid username and password
| enter a newuser to the system
| and then exit..?
| 
| maybe like ./adduser.sh <username> <password>

1: Get and install ssh.
2: ssh target-machine adduser adduser-params

DO NOT do this through telnet. I means putting clear text passwords across
the network, writing down cleartext password in files, etc etc. BAD!

Get ssh. Learn to use it. Love it. Is good!
--
Cameron Simpson, DoD#743        cs zip com au    http://www.zip.com.au/~cs/

I have no help to send, therefore I must go myself. - Aragorn son of Arathorn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]