when i try to run a script.. im getting the following errors.. im not good with ssh.. so.. i need some help.
./change_passwd.pl: use: command not found
./change_passwd.pl: use: command not found
./change_passwd.pl: use: command not found
./change_passwd.pl: use: command not found...
i am trying to write a script to log on to every server and cat the contents of a file.. and then print that to a log file on my starting point server.
is there anyway i can send the results of "cat /etc/sudoers" to a variable? so i can open a logfile.. and just say print $log or...
this is a repost.. but i got no replys before.. and am just looking for some help.. if anyones out there.
i am currently creating a script that uses $telnet->login($user,$passwd) to login and then run the passwd command to change the password.. but the script bombs out if the current password...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.