04-11-2009
Quote:
Originally Posted by
TonyFullerMalv
This should list all the users and groups in the NIS domain, (run domainname(1m) to find out what it is called) all NIS clients in that domain should list the same users and groups. Running ypwhich(1) will tell you the name of the NIS master server.
Thanks for the reply.
I will try this on monday and let you know.
Appreciate your response.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I find find all members in the /etc/password file that belong to the dba group in the /etc/group file? (4 Replies)
Discussion started by: mozartny
4 Replies
2. Linux
Hello,
We can get the full info by typing:
ypmatch username passwd
aaaa : yyyy: ... ... : LastName Gname : ... ...
However, I'd like to know how could we get the username based on LastName and Given name please?
Thanks a lot,
ly (3 Replies)
Discussion started by: test111111
3 Replies
3. UNIX for Dummies Questions & Answers
From what I have read it possible to create a new group by editing the etc/group and etc/passwd in UNIX two files but a non-experienced user may face many problems such as destroying the file by mistake ot that his changes to these file does not make any difference.
However, there is this... (2 Replies)
Discussion started by: whatev3r
2 Replies
4. Shell Programming and Scripting
Hi
I am moving from shell scripting part to network shell scripting.
Can some one give me basic idea for all network related commands like
ypmatch,ypcat,NIS etc...
Documentation wiil be highly appreciated (1 Reply)
Discussion started by: siquadri
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am checking who belong to the dba group ,
and found that oracle and autosys users are part of this group
cat /etc/group | grep dba
dba::400:oracle,autosys
I thought to found user autosys under group 400 togther with user
oracle , but found it in group 1000 as you can see bellow.... (2 Replies)
Discussion started by: yoavbe
2 Replies
6. Solaris
When I try to get ipnodes it says "no such map in server's NIS domain"
but for other maps its working.
Then my query is if map is not there why it shows the entry when I "ypcat -x"
adroit:/home/seo/hitendra 37 ] ypcat -x
Use "passwd" for map "passwd.byname"
Use "group" for map... (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a passwd file with 3 users belonging to the the root group (gid=0), but the group file does not list these users as members of the root group?
Shoud I be worried and apart from manually changing it, how can it be remediated?
thx
Norgaard (1 Reply)
Discussion started by: Norgaard
1 Replies
8. Shell Programming and Scripting
/etc/group
tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
uucp::5:root
/etc/passwd
mk789:x:234:1::/export/home/dummy:/bin/sh
po312:x:234:1::/export/home/dummy:/bin/sh
ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies
9. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
10. UNIX for Dummies Questions & Answers
Hi guys,
I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)
Discussion started by: goldenlight1814
1 Replies
ypcat(1) General Commands Manual ypcat(1)
NAME
ypcat - print values of all keys in a NIS database
SYNOPSIS
ypcat [ -kt ] [ -d domain ] [ -h hostname ] mapname
ypcat -x
DESCRIPTION
ypcat prints the values of all keys from the NIS database specified by mapname, which may be a map name or a map nickname.
OPTIONS
-d domain
Specify a domain other than the default domain as returned by domainname(8).
-h hostname
Specify a hostname other than the default one as found by ypbind(8).
-k Display map keys. This option is useful with maps in which the values are null or the key is not part of the value.
-t This option inhibits map nickname translation.
-x Display the map nickname translation table.
FILES
/var/yp/nicknames
map nickname translation table.
SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypmatch(1), yppoll(8), ypserv(8), ypset(8), ypwhich(1)
AUTHOR
ypcat is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>.
YP Tools 2.14 April 2010 ypcat(1)