Operating System - HP-UX
1834142 Members
2246 Online
110064 Solutions
New Discussion

Re: Server-side post-install scripts

 
Mark Landin
Valued Contributor

Server-side post-install scripts

I know how to run post-install scripts on the Ignite target ... but I want the SERVER to execute some scripts (namely some rdist commands to push out some customized files that aren't in a depot...) after a client has been installed.

Is there a way to do this?
4 REPLIES 4
Cheryl Griffin
Honored Contributor

Re: Server-side post-install scripts

Try:
Ignite-UX Startup Guide for System Administrators

Chapter 5: Post Install Scripts
http://www.software.hp.com/products/IUX/docs/sysadm.html#Chapter-5

The scripts would reside on the server and be executed on the target.

Cheers!
Cheryl

"Downtime is a Crime."
Mark Landin
Valued Contributor

Re: Server-side post-install scripts

Sorry, Cheryl ... I need the server to execute the script, not the target.

Pete Randall
Outstanding Contributor

Re: Server-side post-install scripts

Mark,

This is a shot in the dark, but could you have the target execute a script that does a remsh back to the server to kick off the server side script?

Pete

Pete
Mark Landin
Valued Contributor

Re: Server-side post-install scripts

I've considered it. Right now each client has a .rhost entry for the server, so the server can log into the client without passwords, but the reverse is NOT true. So my script would either 1) rely on a .rhosts entry on the server for the client, 2) provide a password in the script itself, or 3) remsh to an unprotected account on the server. All three options have a level of insecurity which makes me uncomfortable.

I also thought about having the client send an email signal to the server via sendmail after it rebooted for the "last" time, but I've not really ever doine that kind of thing.

In short, I was hoping Ignite already had solved this dilemna for me. I guess not. :)