LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

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


Hi
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, 01:37 AM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
How do you get root now? I would use pulic key authentication for ssh. http://mah.everybody.org/docs/ssh seems to be a good howto.
Then:

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,
chris
 
Old 08-26-2004, 04:39 PM   #3
damien
Member
 
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.

Damien
 
  


Reply



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 08:11 AM
Cluster....which distro is best for the Nodes? KaptinKABOOM Linux - Software 7 06-14-2004 08:34 PM
rsh on Cluster nodes rudy3107 Linux - Software 0 07-22-2003 06:53 AM
how do i install RH9.0 on all nodes in a cluster? dogma Linux - Newbie 1 05-26-2003 05:48 PM
How do i create an a/c at all nodes in the cluster dogma Linux - Networking 4 05-19-2003 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:40 PM.

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