NIS Group, Netgroup


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers NIS Group, Netgroup
# 1  
Old 06-30-2009
NIS Group, Netgroup

Hi all,

Is there a way for me to know the NIS group and Netgroup my UNIX account? Thank you.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pull Netgroup from Servers

Hi, How to pull netgroup from all servers I think the netgroup resides in /etc/security/access.conf so I want to know how to get the list of netgroup in all the servers. I have a jump server I can run the script from there to get the list but not sure how to do the script. Any ideas or... (1 Reply)
Discussion started by: dbashyam
1 Replies

2. UNIX for Advanced & Expert Users

Change to NIS netgroup definition in upcoming Internet Draft

I'm considering the merits of slightly redefining the "domain" field in a NIS netgroup (the third field in the triple) to make it more useful, in a new Internet Draft that I am currently developing. Does anyone out there who uses NIS actually make use of the "domain" field? The places I've worked... (8 Replies)
Discussion started by: cambridge
8 Replies

3. UNIX for Dummies Questions & Answers

NIS user in local group

I have root access on a linux (RH5.4) server within an NIS setup that I don't control. I have an NIS account that creates directories on my local node that I want to be writable by my local apache account. The NIS account is only a member of the "users" group and the local apache account is... (1 Reply)
Discussion started by: clindseysmith
1 Replies

4. Linux

/etc/security/limits.conf NIS netgroup support

Hi there, I am trying to set a ulimit max in the /etc/security/limits.conf against a NIS netgroup (which contains a whole bunch of users) instead of a local user or group. so I have a NIS netgroup called +@myusers , none of whose users are defined locally on the box. I want to ensure that... (2 Replies)
Discussion started by: rethink
2 Replies

5. UNIX for Advanced & Expert Users

NIS Group Lookup Problem

I'm running a NIS on an network of Ubuntu 8.04 linux systems. I'm seeing a weird problem where the 'id' command is not returning all the groups I am a member of. For example: alex@client $ id -Gn localgroupA localgroupB nisgroup1 nisgroup2 nisgroup4 alex@client $ id -Gn alex nisgroup1... (0 Replies)
Discussion started by: vertigo23
0 Replies

6. Solaris

How can i allow only a group of users in NIS?

Hello experts. I am using Solaris10. How can i allow a group of users, remaining should be deny. Thanx in advance. (9 Replies)
Discussion started by: younus_syed
9 Replies

7. Solaris

make issue when I add some members into a NIS group on solaris 9,please help !!

Hello Sir, I want to add some members into a group on NIS domain, but when I run "/usr/ccs/bin/make group" to update the group map it was failed :-( the error message is : problem storing develop... (4 Replies)
Discussion started by: lk74612
4 Replies

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

9. UNIX for Dummies Questions & Answers

NIS group vs local group

Hi everyone, I'm new to UNIX so plz excuse me if this sounds foolish Assume there exists a group 'xyz' on the NIS as well as on the local UNIX box. And we added the user 'test' to the local group. Which group priveleges will 'test' have? do reply.. thanks, VJ. (3 Replies)
Discussion started by: vjsony
3 Replies

10. UNIX for Advanced & Expert Users

NIS problem with netgroup

Hi@all, I'd setup a nis server and 4 slaves. Update of passwd work's fine, but if i create a netgroup file the make all process hang by push the netgroup file. I work with AIX 4.3.3.0 and Maintance Level 5. Tank's for help (1 Reply)
Discussion started by: Michael
1 Replies
Login or Register to Ask a Question
userdel(8)						      System Manager's Manual							userdel(8)

NAME
userdel - Deletes a user login account from the system. SYNOPSIS
SVE: /usr/sbin/userdel [-r] login POSIX: /usr/sbin/userdel [-D] [-r] [-R] [-t type] [-P] [-x extended_option] login OPTIONS
This option is used under enhanced security to delete the user account from /etc/passwd file and the enhanced security protected passwd DB. Removes a user's home directory from the system. This directory must exist and must be owned by the user whose login account is being deleted. When enhanced security is enabled, retires the account without deleting entries from the databases or removing home directories. Removes a local plus (+) or local minus (-) NIS user from the user database. The value of the type parameter can be + or -. Removes PC accounts only, without deleting the user's existing UNIX account. The following extended_option attributes are available: Indicates whether the account is distributed. The value of the distributed=n attribute can be 0 or 1. If set to 0, the account is deleted from the local database. If set to 1, the account is deleted from the NIS master database on the running system. When this attribute is set, the local attribute is set to the opposite value. Indicates whether or not the account is local. The value of the local=n attribute can be 0 or 1. If set to 1, the account is deleted from the local database. If set to 0, the account information is deleted from the NIS master database. When this attribute is set, the distributed attribute is set to the opposite value. The value of the pc_synchronize=n attribute can be 0 or 1. If set to 1, both PC and UNIX accounts will be affected by delete operations. If set to 0, only UNIX accounts will be affected by delete operations and the PC account will be unaffected. Specifies an existing login account on the system. DESCRIPTION
The userdel command is part of a set of command-line interfaces (CLI) that are used to create and administer user accounts on the system. When The Advanced Server for UNIX (ASDU) is installed and running, the userdel command can also be used to administer PC accounts. Accounts can also be administered with the /usr/bin/X11/dxaccounts graphical user interface (GUI), although the extended options are only available from the CLI utilities such as useradd and usermod. Different options are available depending on how the local system is configured: In the default UNIX environment, user account management is compliant with the IEEE POSIX Draft P13873.3 standard. If enhanced (C2) security is configured, additional options and extended options can be used. The CLI is backwards-compatible, so all existing local scripts will function. However, you should consider testing your account management scripts before using them. The userdel command deletes a user's login account from the system and makes the login-related changes in the appropriate system files determined by the current level of security. Additionally, the files and directories contained under the user's home directory can be removed from the system. With the -x option, the system administrator can specify whether the user login account to be deleted is local or whether it resides in the NIS master database. If the -x option is not specified, the user login account is deleted from the appropriate database as specified by the system defaults. The default behavior on the system for the userdel command is distributed=0 and local=1. With these values, the system deletes the group from the local database by default. Setting the distributed= and local= attributes to the same value (for example, distributed=0 and local=0) produces an error. RESTRICTIONS
Note the following restriction that applies to this release: You must have superuser privilege to execute this command EXIT STATUS
The userdel command exits with one of the following values: Success. Failure. Warning. EXAMPLES
The following example removes the local plus (+) user, newuser1: % userdel -t + newuser1 The following example removes the NIS user, newuser4, from the NIS master database: % userdel -x distributed=1 newuser4 The following example deletes the user, xyz, and removes the user's home directory: % userdel -r xyz The following example deletes the UNIX account for studentB, removing the home directory and its corresponding PC account. % userdel -r -x pc_synchronize=1 studentB FILES
The userdel command operates on files for the specific level of system security. SEE ALSO
Commands: groupadd(8), groupdel(8), groupmod(8), useradd(8), usermod(8), passwd(1), Manuals: System Administration, Security, Advanced Server for UNIX Installation and Administration userdel(8)