Hi I have like 150 LINUX servers. I want to create a user in all the servers through the a script. But that user already exists in some of the servers. How to do this ???

NOTE: SSH login in the servers without password is enabled.

Well, for example, you can write a bash/shell script to secure copy over the passwd and shadow files to each server from the one that it is originating from. Now, if that user needs to have a home directory and such, it might just be better to look into an ldap solution for your environment.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.