Hi all, I have an interesting question regarding SysV startup / shutdown scripts.
One machine 'the server' has two smaller machines (firewalls) physically installed inside it. They are single board computers that fit into the 5.25" drive bays on the server. I have configured them as choke & bastion firewalls with iptables: - No problems there. I want to be able to shutdown the server as well as the the two f/w machines at the same time, so I thought about doing this: a) Have a script in init.d that is linked from rc0.d that uses ssh to shutdown each of the f/w machines. (ssh fw1 halt, ssh fw2 halt) b) delay for about a minute c) continue the shutdown process on the server. The problem is that ssh wants a password and presumably there is no way of providing this from the console during a shutdown. Can ssh be configured not to ask for a password ? (I know this is unusual). Any better way of doing this? Regards, Andy -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug