I have some web servers that I manage, so I Have to constantly update them.
It is a real pain when I am constantly running scripts and have to type in the root password about 5-10 times per computer per update.
I know there is a way to store my main computer's data on the servers so that I don't have to type the username and password every time, but since I have a bunch of computers, I still have to run the code to get into every computer, so even without typing in the username and password, it is still very time consuming.
All my servers have the same root password, so if there is any line of code I could add to my script (or just a script I could run), so my main computer will login automatically, or if there is any way that I can store my server's data on my main computer, so that my main computer can login to my servers automatically, I would like to know.
Thanks in advance
Zak
Bookmarks