UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 14th, 2009, 06:05 AM
sethuraman041 sethuraman041 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 2 sethuraman041 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 40 sec
Reputation Power: 0
Question How to create a common user name in all the unix servers?

Hi all, Please help me with the following,

I am trying to create a common user name and password in all the UNIX servers I have.

I would like to know if I create a user name and password in a single server then an automated script or something else should run in rest of the UNIX servers, so the created user name and password is valid(or common) for all the servers.

I have seen few similarities in MS servers using WMI service with automated VB scripts performing this.

Reply With Quote
  #2  
Old May 14th, 2009, 10:01 AM
LKBrwn_DBA's Avatar
LKBrwn_DBA LKBrwn_DBA is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2006
Posts: 506 LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 4 Days 12 h 34 m 59 sec
Reputation Power: 192
Cool Nis

__________________

Reply With Quote
  #3  
Old May 15th, 2009, 02:22 AM
sethuraman041 sethuraman041 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 2 sethuraman041 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 40 sec
Reputation Power: 0
Arrow creating a Global user

Thanks for the reply.

I would like to explain my situation so u can help me resolve it.

I am directly logging into a UNIX server using SSH, from there I am going to run a script which creates user in all the unix servers(lets say around 500 servers).
I got the script but the problem here is RSA authentication.
This does not allow me to run the script in the servers.

I want the script to run automatically without any restrictions.
Kindly help me with this.

Reply With Quote
  #4  
Old May 15th, 2009, 09:11 AM
LKBrwn_DBA's Avatar
LKBrwn_DBA LKBrwn_DBA is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2006
Posts: 506 LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level)LKBrwn_DBA User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 4 Days 12 h 34 m 59 sec
Reputation Power: 192
Cool Setup public key authentication

Quote:
Originally Posted by sethuraman041
...
I am directly logging into a UNIX server using SSH, from there I am going to run a script which creates user in all the unix servers(lets say around 500 servers).
I got the script but the problem here is RSA authentication.
This does not allow me to run the script in the servers.

I want the script to run automatically without any restrictions.
...

You still would need to setup public key authentication on each server in order to be able to ssh from one system to another without specifying a password.

Here are some links to get you started:

http://sial.org/howto/openssh/publickey-auth/
http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html
Comments on this post
iamroot agrees: agreed

Reply With Quote
  #5  
Old May 28th, 2009, 07:30 PM
iamroot iamroot is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2008
Posts: 78 iamroot User rank is Second Lieutenant (5000 - 10000 Reputation Level)iamroot User rank is Second Lieutenant (5000 - 10000 Reputation Level)iamroot User rank is Second Lieutenant (5000 - 10000 Reputation Level)iamroot User rank is Second Lieutenant (5000 - 10000 Reputation Level)iamroot User rank is Second Lieutenant (5000 - 10000 Reputation Level)iamroot User rank is Second Lieutenant (5000 - 10000 Reputation Level)iamroot User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 17 h 1 m 32 sec
Reputation Power: 70
Your best scripting language choice would probably be expect.

This would actually allow you to not use key-based auth, but your user and root passwords would be in plain text in the script.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > How to create a common user name in all the unix servers?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
Stay green...Green IT