Hi all
we have several Linux based web servers at our sure. The servers are generally maintained by a 3rd party company so I dint deal with them that much or know much about Linux other than basic commands ls, shutdown etc etc).
We have some scheduled power outages coming up soon at our site. In trying to script all the server shutdowns rather than logging onto each server just to shut it down. I can do this with out Linux servers by passing command line options to PuTTY
so far, all is well. However, the only accounts that get used on these servers are the root accounts. I'd like to do create a new account fir this purpose and do the following:
- Give the account enough right to SSH to the server & shut it down. I dint want to give it root access
- make the account expire the day after the shutdown so that it can't be used as a potential DoS attack later
this would enable me to put the password in the script and not worry about it getting exposed
if this isn't possible, does anybody know if it's possible to encrypt the password when being passed to PuTTY ? Or an alternative SSH client that will run on Windows & allow me to do this ?
I know that Randy Franklin Smith had a webcast a few months ago about delegating rights on Linux boxes, but unfortunately I can't find this now
thanks in advance for any help
Irish Poetry - Karen O'Connor
Irish Poetry and Short Stories - Doghouse Books
Garten und Landschaftsbau
we have several Linux based web servers at our sure. The servers are generally maintained by a 3rd party company so I dint deal with them that much or know much about Linux other than basic commands ls, shutdown etc etc).
We have some scheduled power outages coming up soon at our site. In trying to script all the server shutdowns rather than logging onto each server just to shut it down. I can do this with out Linux servers by passing command line options to PuTTY
so far, all is well. However, the only accounts that get used on these servers are the root accounts. I'd like to do create a new account fir this purpose and do the following:
- Give the account enough right to SSH to the server & shut it down. I dint want to give it root access
- make the account expire the day after the shutdown so that it can't be used as a potential DoS attack later
this would enable me to put the password in the script and not worry about it getting exposed
if this isn't possible, does anybody know if it's possible to encrypt the password when being passed to PuTTY ? Or an alternative SSH client that will run on Windows & allow me to do this ?
I know that Randy Franklin Smith had a webcast a few months ago about delegating rights on Linux boxes, but unfortunately I can't find this now
thanks in advance for any help
Irish Poetry - Karen O'Connor
Irish Poetry and Short Stories - Doghouse Books
Garten und Landschaftsbau