AW: need help re: script
Rene Storm
rene.storm at emplics.com
Tue Jun 10 10:37:47 EDT 2003
Hi,
use nis (ypserv) to manage your accounts.
http://www.linux.org/docs/ldp/howto/NIS-HOWTO/index.html
For your execution scripts you could do something like:
#!/bin/bash
# . /etc/profile for the environment, needs passwordless rsh
NODES="node02 node01"
for NODE in $NODES; do
echo "---------- $NODE"
rsh $NODE ". /etc/profile; $*"
echo
done
If you halt or reboot your machines, this machine should be last, to execute the script on ;o)
There are many tools for that out there. Take a look at sourceforge.
Cu
René
-----Ursprüngliche Nachricht-----
Von: Norman Alano [mailto:nfalano at hotmail.com]
Gesendet: Sonntag, 8. Juni 2003 19:33
An: beowulf at beowulf.org
Betreff: need help re: script
greetings!
i need help re: my scenario. how i can create a script that i will only
create account on the server and it automatically creates account on the
nodes. and how i can create a script that i will shutdown the server node
and it will automatically shutdown the nodes.
thank you very much for your help
cheers
norman alano
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
More information about the Beowulf
mailing list