Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-10-2004, 04:48 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 23

Rep: Reputation: 15
How to make an account across different nodes in a cluster

I am trying to make an account with the same userid and the same group id across different nodes on the cluster. How can i make them using a script or shell command so that i dont have to manually make them. remember that i have no passwordless ssh or rsh for the root
Old 08-11-2004, 02:37 AM   #2
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
How do you get root now? I would use pulic key authentication for ssh. seems to be a good howto.

ssh-add; for h in host1 host2 host3; do ssh root@$h useradd -u 900 -g 900 username; done

Or, you could get the machines to use LDAP for user authentication/management.

Good Luck,
Old 08-26-2004, 05:39 PM   #3
Registered: Sep 2003
Location: Calgary, Canada
Distribution: Slackware 10.0
Posts: 90

Rep: Reputation: 15
Is this so you can do things across the nodes simultaneously, like run an MPI program? On my cluster I NFS export /home/damien from the head node and mount it as /home/damien on the slave nodes. Then the ssh authorized_keys file is automatically available as well and you're off to the races.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating user account on all nodes of a cluster Michele Spinolo Linux - Networking 2 01-28-2005 09:11 AM
Cluster....which distro is best for the Nodes? KaptinKABOOM Linux - Software 7 06-14-2004 09:34 PM
rsh on Cluster nodes rudy3107 Linux - Software 0 07-22-2003 07:53 AM
how do i install RH9.0 on all nodes in a cluster? dogma Linux - Newbie 1 05-26-2003 06:48 PM
How do i create an a/c at all nodes in the cluster dogma Linux - Networking 4 05-19-2003 11:21 AM

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration