Sponsored Content
Operating Systems Solaris How can I modify groups in an NIS Server? Post 302500001 by ionrivera on Saturday 26th of February 2011 04:35:50 AM
Old 02-26-2011
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...
 

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. AIX

Vulnerability AIX server (GROUPS/USERS) and SAP Systems ?

I hope you can understand me, although my english is not so good. I have a problem. I have installed 4 SAP Systems with different releases on the same server (AIX). Each SAP system has got its own operating system user through the installation. But all users belong to the group SAPSYS. So in other... (3 Replies)
Discussion started by: momok1976
3 Replies

7. 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

8. Solaris

NIS Server Filesystem is full

Hey Guys, I need your help. My NIS server filesystem is 100%, the NIS is running under solaris 10. I am affraid if the server stops, it wont come up again. Please help. (4 Replies)
Discussion started by: andrevicente
4 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
group(4)						     Kernel Interfaces Manual							  group(4)

NAME
group, logingroup - group file, grp.h DESCRIPTION
contains for each group the following information: o group name o encrypted password o numerical group ID o comma-separated list of all users allowed in the group The file is an ASCII file. Fields are separated by colons, and each group is separated from the next by a new-line. No spaces should sep- arate the fields or parts of fields on any line. If the password field is null, no password is associated with the group. There are two files of this form in the system, and The file exists to supply names for each group, and to support changing groups by means of the utility (see newgrp(1)). provides a default group access list for each user via and (see login(1) and initgroups(3C)). The real and effective group ID set up by for each user is defined in (see passwd(4)). If is empty, the default group access list is empty. If and are links to the same file, the default access list includes the entire set of groups associated with the user. The group name and password fields in are never used; they are included only to give the two files a uniform format, allowing them to be linked together. All group IDs used in or should be defined in These files reside in directory Because of the encrypted passwords, these files can and do have general read permission and can be used, for example, to map numerical group IDs to names. The group structure is defined in and includes the following members: NETWORKING FEATURES
NIS The file can contain a line beginning with a plus which means to incorporate entries from Network Information Services (NIS). There are two styles of entries: means to insert the entire contents of NIS group file at that point, and means to insert the entry (if any) for name from NIS at that point. If a entry has a non-null password or group member field, the contents of that field overide what is contained in NIS. The numerical group ID field cannot be overridden. A group file can also have a line beginning with a minus these entries are used to disallow group entries. There is only one style of entry; an entry that consists of means to disallow any subsequent entry (if any) for name. These entries are disallowed regardless of whether the subsequent entry comes from the NIS or the local group file. WARNINGS
Group files must not contain any blank lines. Blank lines can cause unpredictable behavior in system administration software that uses these files. Group ID (gid) 9 is reserved for the Pascal Language operating system and the BASIC Language operating system. These are operating systems for Series 300/400 computers that can co-exist with HP-UX on the same disk. Using this gid for other purposes can inhibit file transfer and sharing. The length of each line in is limited to as defined in Because of this limit, users should not be listed in their primary group - only in their additional groups. If is linked to group membership for a user is managed by NIS, and no NIS server is able to respond, that user cannot log in until a server does respond. There is no single tool available to completely ensure that and are compatible. However, and can be used to simplify the task (see pwck(1M)). There is no tool for setting group passwords in DEPENDENCIES
NIS Here is a sample file: Group has a gid of 1 and members and The group is ignored since it appears after the entry Also, the group has members and and the password and group ID of the NIS entry for the group All groups listed in the NIS are pulled in and placed after the entry for The plus and minus features are part of NIS. Therefore if NIS is not installed, these features cannot work. FILES
SEE ALSO
groups(1), newgrp(1), passwd(1), setgroups(2), crypt(3C), getgrent(3C), initgroups(3C), passwd(4). STANDARDS CONFORMANCE
group(4)
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy