- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: adding new unix user-ids across the cluster
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2007 03:39 AM
11-30-2007 03:39 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2007 03:42 AM
11-30-2007 03:42 AM
Re: adding new unix user-ids across the cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2007 04:36 AM
11-30-2007 04:36 AM
Solutionwhene the system is not secure and the users has to be the same a rcp of the passwd wil work. but the best ting to do is to de the useradd twise
useradd [-u uid [-o] ] [-g group] [-G group [, group...]] [-d dir]
[-s shell] [-c comment] [-m [-k skel_dir]] [-f inactive]
[-e expire] login
rsh [othernode] useradd [-u uid [-o] ] [-g group] [-G group [, group...]] [-d dir]
[-s shell] [-c comment] [-m [-k skel_dir]] [-f inactive]
[-e expire] login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2007 04:38 AM
11-30-2007 04:38 AM
Re: adding new unix user-ids across the cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2007 07:49 AM
11-30-2007 07:49 AM
Re: adding new unix user-ids across the cluster
problems like this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2007 02:21 AM
12-02-2007 02:21 AM
Re: adding new unix user-ids across the cluster
Easiest for you would be making a little script which does the useradd command on both servers using ssh (preferred) or remsh (insecure!) for the remote one.
This way you can automate what FV explained above, just using a variable for the username.
It would be a good idea to first have your script check which is the next 'free' uid on both machines and then issue the passwd commands with this uid and the username.
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 09:32 AM
12-03-2007 09:32 AM
Re: adding new unix user-ids across the cluster
In any event, this is one of those things that should have been addressed when your cluster was setup and a customized standard script should have been created. There is no standard tool to do this because every environment is different.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 12:34 PM
12-03-2007 12:34 PM
Re: adding new unix user-ids across the cluster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2007 01:22 PM
12-03-2007 01:22 PM