How do i create an a/c at all nodes in the cluster
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
1) could you explain in brief how ldap works?
Whether a newbie can use it to create a single a/c that wud work in all the nodes?
2) I did try using the "gui - User manager", but to no avail.
I was able to access only the gateway but not the nodes.
I did check all the settings, but wasnt able to figure out how
to create a common login and pwd for all the nodes
3) could you give me a sample script to create the same
login and pwd at all the nodes.
I wouldn't implement it for only a couple of users though.
2) Something like:
# Check we have the required data
if [ $1 ] && [ $2 ]; then
# Add the user locally
useradd $1 -p $2
# Create an entry for each host below
ssh root@somehost useradd $1 -p $2
ssh root@anotherhost useradd $1 -p $2
ssh root@thirdhost useradd $1 -p $2
ssh root@lasthost useradd $1 -p $2
# If the user hass called the script incorrectly then help them
echo Please use the following syntax:
echo addtoall USERNAME PASSWORD
echo PASSWORD must be the crypted version of the users password
This assumes you have ssh running on all other hosts with passwordless (otherwise you need to type the password each time) logins for root.
if you just want to use a basic network authentication like NIS, which is a doddle to set up, you can just use a PAM module to automatically create any required directories when a user logs in to a node for the first time, not sure what's it's called off hand, but there is info about this in the NIS howto. alternateivly, share a /home partition with the network anyway,