08-10-2010
How to see the Records in NIS Map ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I created a user, i login as a root. I add him in the group where he can access and login as a root! I checked it in users' list and in group's list, he is there. My problem is this, I cant login using the username/account I just created! What should i do to use and login the user/account i've just... (5 Replies)
Discussion started by: jerome
5 Replies
2. Shell Programming and Scripting
It seems like not all Unix have whoami. What is the alterate way to display just the login id?
Any help is appreciated
jak (5 Replies)
Discussion started by: jakSun8
5 Replies
3. Shell Programming and Scripting
Hi,
My requirement is that i am login from ROOT in a script but when any
command is coming which is logging to sqlplus then i have to run it with normal user as only normal user have permission to connect to sqlplus .
i tried making a script like this :
#! /bin/ksh
su -... (3 Replies)
Discussion started by: rawatds
3 Replies
4. Solaris
Hello World ~
HW : SUN Fire V240
OS : Solaris 8
Error message prompts 'rmclomv ... SC login failure ...' on terminal.
and
Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S)
The System is in normal operation, though
In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies
5. Linux
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies
6. Shell Programming and Scripting
Want to find the stdout for the partiuclar user login for past 12 hrs.
Say for eg : user login id is teladm
And the host name is sys22prod
I want to see the stdout for that user id in that host for past 12 hrs (1 Reply)
Discussion started by: mail2sant
1 Replies
7. Shell Programming and Scripting
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
Discussion started by: ujjwal27
9 Replies
8. AIX
I want to learn AIX. I would like to find someone who would be willing to give me a login to their AIX home lab server. My intent is to poke around and discover the similarities and differences of AIX compared to other *NIXs.
I am a UNIX admin so I can think of what some immediate concerns may... (1 Reply)
Discussion started by: perl_in_my_shel
1 Replies
9. Shell Programming and Scripting
now i have logged in username : ramesh in unix
Now i have to created script file to login into another user and have run a command inside that user and after executing the command i have to exit from that user.
Inside script, i have to login into su - ram along with password : haihow and have to... (4 Replies)
Discussion started by: rammm
4 Replies
10. UNIX for Advanced & Expert Users
Hi Experts,
Need your support
Redhat 6.5
I want to create a user with all(read, write, execute) privileges except that user should not be able to create any new user from his login
to perform any task. (10 Replies)
Discussion started by: as7951
10 Replies
LEARN ABOUT XFREE86
yppush
yppush(1M) System Administration Commands yppush(1M)
NAME
yppush - force propagation of changed NIS map
SYNOPSIS
/usr/lib/netsvc/yp/yppush [-v] [-h host] [-d domain] [-p #parallel-xfrs] mapname
DESCRIPTION
yppush copies a new version of a Network Information Service (NIS) map from the master NIS server to the slave NIS servers. It is normally
run only on the master NIS server by the Makefile in /var/yp after the master databases are changed. It first constructs a list of NIS
server hosts by reading the NIS ypservers map within the domain. Keys within the ypservers map are the ASCII names of the machines on which
the NIS servers run.
A "transfer map" request is sent to the NIS server at each host, along with the information needed by the transfer agent (the program that
actually moves the map) to call back the yppush. When the attempt has completed (successfully or not), and the transfer agent has sent
yppush a status message, the results can be printed to stdout. Messages are also printed when a transfer is not possible, for instance,
when the request message is undeliverable, or when the timeout period on responses has expired.
Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS service.
OPTIONS
The following options are supported:
-d domain Specifies a domain.
-h host Propagates only to the named host.
-p #parallel-xfrs Allows the specified number of map transfers to occur in parallel.
-v Verbose. This prints messages when each server is called, and for each response. If this flag is omitted, only
error messages are printed.
FILES
/var/yp
Directory where NIS configuration files reside.
/var/yp/domain/ypservers.{dir, pag}
Map containing list of NIS servers to bind to when running in server mode.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWypu |
+-----------------------------+-----------------------------+
SEE ALSO
ypserv(1M), ypxfr(1M), ypfiles(4), attributes(5)
NOTES
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the
name has changed. The name Yellow Pages is a registered trademark in the United Kingdom of British Telecommunications PLC, and must not be
used without permission.
BUGS
In the current implementation (version 2 NIS protocol), the transfer agent is ypxfr(1M), which is started by the ypserv program. If yppush
detects that it is speaking to a version 1 NIS protocol server, it uses the older protocol, sending a version 1 YPPROC_GET request and
issues a message to that effect. Unfortunately, there is no way of knowing if or when the map transfer is performed for version 1 servers.
yppush prints a message saying that an "old-style" message has been sent. The system administrator should later check to see that the
transfer has actually taken place.
SunOS 5.10 26 Aug 1999 yppush(1M)