10-08-2006
@blowtorch
could you please explain a bit on NIS/NIS+?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I add a user to a group? And how do I determine the list of groups to add a user?
Solaris 10 newbie (1 Reply)
Discussion started by: peteythapitbull
1 Replies
2. AIX
Hello
A couple of weeks ago, I added a user to an AIX 5.3 system.
I go to add one today, and it appears that when creating a user in smit, I cannot see any groups.
No primary groups
No Group set
No Admin Groups
The /etc/group and etc/secuity/group files seem to be intact.
I did... (4 Replies)
Discussion started by: mhenryj
4 Replies
3. Shell Programming and Scripting
I have some groups and when i issue a command like
groups $LOGNAME
it displays in one line
rfautosys c2ru cash2
I want to fetch only group starting with c2 but when i grep i am getting full line. Can someone advise
on this please as how i can get output as c2ru? (2 Replies)
Discussion started by: gehlnar
2 Replies
4. Solaris
how to create 1000 users in 1 group (0 Replies)
Discussion started by: tirupathi
0 Replies
5. Solaris
1 user in member of 4 groups find file permissions and default group (1 Reply)
Discussion started by: tirupathi
1 Replies
6. Shell Programming and Scripting
I need some help with adding lines to file and substitute a pattern.
Ok I have a file:
#cat names.txt
name: John Doe
stationed: 1
name: Michael Sweets
stationed: 41
.
.
.
And would like to change it to:
name: John Doe
employed
permanently
stationed: 1-office (7 Replies)
Discussion started by: hemo21
7 Replies
7. UNIX for Dummies Questions & Answers
Must I be in a group? I am using Ubuntu and am the only user on my PC. I know how to change groups but do not see a way to not be in a group. Any help would be appreciated. (2 Replies)
Discussion started by: nthepines
2 Replies
8. Post Here to Contact Site Administrators and Moderators
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
9. Shell Programming and Scripting
Hi,
I am looking at a slightly different sorting problem and I am not sure how to do it in bash.
I have the following input:
0 ... (8 Replies)
Discussion started by: jamie_123
8 Replies
10. UNIX for Beginners Questions & Answers
I have an array in an external file, "array.txt", which contains:
char *testarray={"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};I want to be able to add an element to this array, and have that element display, whenever I call it, without having to recompile... (29 Replies)
Discussion started by: ignatius
29 Replies
LEARN ABOUT X11R4
ypwhich
ypwhich(1) User Commands ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name services to a NIS client, or which is the master for a map. If
invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out
which NIS master it is using.
Refer to ypfiles(4) for an overview of the NIS name services.
OPTIONS
-d domain Use domain instead of the default domain.
-t This option inhibits map nickname translation.
-m mname Find the master NIS server for a map. No hostname can be specified with -m. mname can be a mapname, or a nickname for a
map. When mname is omitted, produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind, V3 is default.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypfiles(4), attributes(5)
SunOS 5.10 7 Apr 1995 ypwhich(1)