Sponsored Content
Top Forums Shell Programming and Scripting List ALL users in a Unix Group (Primary and Secondary) Post 302318170 by jim mcnamara on Thursday 21st of May 2009 01:22:16 AM
Old 05-21-2009
hmm.
Some systems have a listgroup command - did you check yours for that command?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find All Primary and Secondary Group ID's for a user

Is there any command which can list me all the Group ID's (Primary, Secondary ) assocaited with a single user. Thanks Sanjay (2 Replies)
Discussion started by: sanjay92
2 Replies

2. UNIX for Dummies Questions & Answers

Assigning existing users to a secondary group

Hi!!, I am on HP UX -11. I have created a new group and want to assign some the users to this group without changing their existing group ( The new group is the secondary group for them) Any ideas how to do it?? SAM doesnt seem to be working.. Any way of doing it from command line?? ... (1 Reply)
Discussion started by: jyotipg
1 Replies

3. UNIX for Advanced & Expert Users

Change a users primary group after login

When users login, they are directed to menu (aix script). The menu enables the user to choose an environment to work in. Each environment has a different group id. When a user chooses a menu option, I want to change his primary group to that specific environment's group id. Is this at all possible... (3 Replies)
Discussion started by: terrym
3 Replies

4. UNIX for Advanced & Expert Users

primary-secondary sync problem

hi guys, i am new to this DNS business and i'm having a problem. the setup is bind 9.2.3 is installed on a sun solaris 8 server and is the primary DNS. men and mice suite is installed on another sun solaris 8 and that is our secondary DNS server. problem is recently the secondary DNS stopped... (0 Replies)
Discussion started by: mbannout
0 Replies

5. UNIX for Dummies Questions & Answers

Synchronizing primary and secondary name servers

Hello All, Does some one know how to synchronize the primary name server with the secondary without knowing the domains on which synchronization failed. I have just done /usr/sbin/ndc reload Alternatively how do i find out the domains on which synchronization failed? (4 Replies)
Discussion started by: a2z1982
4 Replies

6. Linux

Secondary linux dist WITHIN primary one

Hi New here so forgive my ignorance and inability to express myself in an informative manner ;) I have a Fedora distribution installed on my development computer. The system we build is meant to run on a slackware dist which is all fine and well. But due to our flow of deployment I would have... (2 Replies)
Discussion started by: inquam
2 Replies

7. Solaris

su: No shell/No directory! if sys is added to a users secondary group

Hi, When I include a user to the secondary group "sys" GID=3 in Solaris 9 OS I'm not able to login. I get these error. The user home directory and the shell exists. Is this because of any security hardening. # su - agent No directory! # su agent su: No shell # grep taddm /etc/passwd... (14 Replies)
Discussion started by: agent001
14 Replies

8. Shell Programming and Scripting

Script to list primary group of users

Dear All I am facing a problem with my script. I have to found the primary group of users . So first I selected all the groups and users register from a specific user : ONE Then I am making a file with all groups attached to the user : ONE Then I am making a file with all... (8 Replies)
Discussion started by: Aswex
8 Replies

9. AIX

How to find Primary & Secondary VIOS?

Hi, In a Dual VIOSs setup having 4 SEA adapters each, how to find which one is Primary and Secondary.? Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

10. Solaris

DNS Primary and Secondary

hi there, i using salaris 10 as my DNS server. i have 2 dns server primary and secondary. if primary dns server i edit/update, the other secondary dns server must be sync too. How can i configure if dns server (primary) can sync the secondary? (1 Reply)
Discussion started by: tappetmus
1 Replies
is(n)								    [incr Tcl]								     is(n)

__________________________________________________________________________________________________________________________________________________

NAME
is - test argument to see if it is a class or an object SYNOPSIS
itcl::is option ?arg arg ...? _________________________________________________________________ DESCRIPTION
The is command is used to check if the argument given is a class or an object; depending on the option given. If the argument if a class or object, then 1 is returned. Otherwise, 0 is returned. The is command also recognizes the commands wrapped in the itcl code command. The option argument determines what action is carried out by the command. The legal options (which may be abbreviated) are: is class command Returns 1 if command is a class, and returns 0 otherwise. The fully qualified name of the class needs to be given as the command argument. So, if a class resides in a namespace, then the namespace needs to be specified as well. So, if a class C resides in a namespace N, then the command should be called like: is N::C or is ::N::C is object ?-class className? command Returns 1 if command is an object, and returns 0 otherwise. If the optional "-class" parameter is specified, then the command will be checked within the context of the class given. Note that className has to exist. If not, then an error will be given. So, if className is uncertain to be a class, then the programmer will need to check it's existance beforehand, or wrap it in a catch statement. So, if c is an object in the class C, in namespace N then these are the possibilities (all return 1): set obj [N::C c] itcl::is object N::c itcl::is object c itcl::is object $obj itcl::is object [itcl::code c] KEYWORDS
class, object itcl 3.3 is(n)
All times are GMT -4. The time now is 04:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy