Sponsored Content
Full Discussion: "Synchronize" users/groups
Operating Systems HP-UX "Synchronize" users/groups Post 302602811 by KickstartUF on Tuesday 28th of February 2012 11:59:25 AM
Old 02-28-2012
"Synchronize" users/groups

Hello!

I'm hoping for a bit of advice on this...we have a need to synchronize users/groups between a couple servers in widely separated locations (our main DC and a disaster-recovery DC). This only has to happen, at this stage, with one server in each location, and the synchronization only has to happen in one direction (from main to disaster-recovery). We don't want to use directory authentication...this needs to be a synchronization based on the /etc/passwd and /etc/group files.

This seems to me something that others would have needed to solve in the past. Has anyone here implemented a solution for this?

Thanks!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Limit "exploring" from users/groups

I have a unix box which runs as a webserver and ftp server. I have a user account for a friend and while I trust him, I noticed that he can view directories above his own "web" folder which is his default directory. I'm still trying to understand users/groups and privileges so bear with me if... (2 Replies)
Discussion started by: creyc
2 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. Shell Programming and Scripting

cat $como_file | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'

hi All, cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g' Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Solaris

The slices "usr", "opt", "tmp" disappeared!!! Help please.

The system don't boot. on the screen appears following: press enter to maintenance (or type CTRL-D to continue)...I checked with format command. ... the slices "0-root","1-swap","2-backup" exist. ...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies

6. Post Here to Contact Site Administrators and Moderators

Suggestion: adding two new groups "sed" and "awk"

Majority of the questions are pertaining file/string parsing w.r.t sed or awk It would be nice to have these two as their own sub category under shell-programming-scripting which can avoid lot of duplicate posts. (1 Reply)
Discussion started by: jville
1 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
group(5)							File Formats Manual							  group(5)

Name
       group - group file

Description
       The file is an ASCII file that contains the following information for each group:

       Group name
       Encrypted password
       Numerical group ID
       Comma-separated list of all users allowed in the group

       Each  group name is separated from the next by a new line.  The fields are separated by colons.	If the password field is null, no password
       is demanded.

       Because of the encrypted passwords, it can and does have general read permission and can be used, for example, to map numerical	group  IDs
       to names.

       The  database  can be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod.  See the Guide to the Yellow Pages
       Service or the Guide to the BIND/Hesiod Service for setup information.

Restrictions
       The command will not change the passwords.

       Increasing the number of groups that a user is in beyond 8 can affect services that use SUN RPC.  The version of SUN RPC shipped with ULTRX
       V4.2  supports up to 32 groups.	Prior versions supported users being in up to 8 groups.  Users who increase the number of groups that they
       are a member of to more than 8 will not be able to NFS mount file systems from ULTRIX servers older than V4.2.  If root group membership is
       increased to more than 8 groups on a V4.2 system, the YP service may not work if that V4.2 system is in a mixed YP server environment where
       there are both V4.2 and previous releases of YP servers.  Again, this incompatibility can only occur if a user's or root's group membership
       is increased to more than 8 groups.

Files
See Also
       passwd(1), setgroups(2), crypt(3), getgrent(3), initgroups(3x), passwd(5)
       Guide to the BIND/Hesiod Service
       Guide to the Yellow Pages Service

																	  group(5)
All times are GMT -4. The time now is 11:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy