Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Removing a replica server from NIS+ Post 6680 by 98_1LE on Monday 10th of September 2001 08:44:12 AM
Old 09-10-2001
Removing a replica server from NIS+

How can I remove a replica server from my NIS+ domain? From reading the man page, it looks like this will work
Code:
nisrmdir -s hostname org_dir.domain.com.

But it comes back with
remove "org_dir.domain.com."?

I am afraid that will remove all the tables associated with the domain, not just the replica.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

2. UNIX for Advanced & Expert Users

NIS server IP change

I am changing the IP on my NIS server. Are there any files that need to be changed on my other servers that are using NIS? (1 Reply)
Discussion started by: calamine
1 Replies

3. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

4. AIX

NIS server

Hi all, Kindly can help to config the NIS master server in AIX 5.3 ? Many Thanks. My procedure: smit yp -> Change NIS Domain Name of this Host smit yp -> Configure / Modify NIS -> Change / Show Characteristics of Master Server Configuration The "Current domain anme of this host" &... (1 Reply)
Discussion started by: tyu
1 Replies

5. Solaris

How to bind from a NIS slave server

Hi All, I have a client already binded with a NIS master server. Now, I want to bind this particular client to one of NIS slave. How to do it? Thanks, Deepak (2 Replies)
Discussion started by: naw_deepak
2 Replies

6. IP Networking

How to disable NIS server

Hi , I have HPUX system booted up in single user mode, can i disable NIS Server in this mode ? ---------- Post updated at 11:36 AM ---------- Previous update was at 11:35 AM ---------- Can i change network parameters in boot image directly . (0 Replies)
Discussion started by: thana
0 Replies

7. IP Networking

Removing NIS configuration

Hi, I want to remove the NIS configuration completely from a SCO UNIX 6.0 box. How to do that. I configured it using /mvdev/nis.Dexter (1 Reply)
Discussion started by: dextergenious
1 Replies

8. Solaris

How can I modify groups in an NIS Server?

How can I remove users in a certain group on a NIS server? Is there a yp command that does this? Thanks in advance... (1 Reply)
Discussion started by: ionrivera
1 Replies

9. Red Hat

NIS server

After configuring the NIS server in my machine (RHEL 5.4) i create two NIS users user1 and user2 and one local user when i login to user1 and user2 from client machine i am not able to login for login to user1 and user2 first i have to login to local user and then i am able to login to... (4 Replies)
Discussion started by: vipinkumarr89
4 Replies

10. Solaris

Testing NIS slave server

Hi guys, In my Sol-10 i setup NIS server following the oracle doc and setup a Linux as NIS client all went ok. I added another Sol-10 and configure it as a NIS slave server following the oracle doc again. and added the server on the yp.conf on my NIS client How do i test if my NIS slave... (3 Replies)
Discussion started by: batas
3 Replies
nisrmdir(1)							   User Commands						       nisrmdir(1)

NAME
nisrmdir - remove NIS+ directories SYNOPSIS
nisrmdir [-if] [-s hostname] dirname DESCRIPTION
nisrmdir deletes existing NIS+ subdirectories. It can remove a directory outright, or simply remove replicas from serving a directory. This command modifies the object that describes the directory dirname, and then notifies each replica to remove the directory named dirname. If the notification of any of the affected replicas fails, the directory object is returned to its original state unless the -f option is present. This command will fail if the NIS+ master server is not running. OPTIONS
The following options are supported: -i Interactive mode. Like the system rm(1) command the nisrmdir command will ask for confirmation prior to removing a direc- tory. If the name specified by dirname is a non-fully qualified name this option is forced on. This prevents the removal of unexpected directories. -f Force the command to succeed even though it may not be able to contact the affected replicas. This option should be used when a replica is known to be down and will not be able to respond to the removal notification. When the replica is finally rebooted it will read the updated directory object, note that it is no longer a replica for that directory, and stop responding to lookups on that directory. Cleanup of the files that held the now removed directory can be accomplished manu- ally by removing the appropriate files in the /var/nis directory. See nisfiles(4) for more information. -s hostname Specify that the host hostname should be removed as a replica for the directory named dirname. If this option is not present all replicas and the master server for a directory are removed and the directory is removed from the namespace. Special per-server and per-directory access restrictions may apply when this command updates the serving lists of the affected NIS+ servers. For more information, see nisopaccess(1). OPERANDS
The following operand is supported: dirname An existing NIS+ directory. EXAMPLES
Example 1 Using the nisrmdir Command To remove a directory bar under the foo.com. domain, one would use the command: example% nisrmdir bar.foo.com. To remove a replica that is serving directory bar.foo.com. one would use the command: example% nisrmdir -s replica.foo.com. bar.foo.com. To force the removal of directory bar.foo.com. from the namespace, one would use the command: example% nisrmdir -f bar.foo.com. ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ directory name is not fully qualified, each directory specified will be searched until the directory is found. See nisdefaults(1). EXIT STATUS
The following exit values are returned: 0 Successful operation. 1 Operation failed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
NIS+(1), nisdefaults(1), nisopaccess(1),nisrm(1), nisfiles(4), attributes(5) NOTES
NIS+ might not be supported in future releases of the Solaris operating system. Tools to aid the migration from NIS+ to LDAP are available in the current Solaris release. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.11 2 Dec 2005 nisrmdir(1)
All times are GMT -4. The time now is 02:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy