Questions about user/group admin

From: Paul Reilly <pareilly_at_tcd.ie>
Date: Tue, 14 Aug 2001 11:19:25 +0100 (IST)

I have some simple group/user questions which I can't seem to find any
answers for in the man pages or online documentation.

I'm using enhanced security on 5.1 and want to administer groups...

1. /etc/group is not always up-to-date with group info, as this is stored
   in the enhanced security db I presume. For instance the users in their
   default group are not shown in here. I can view all users in default group
   'staff' by using sysman or dxaccounts. However I can find no command
   line utility which will show me this. I want to be able to list all
   users by their primary group...

2. Similarly how can I remove a user from a secondary group?
   usermod, groupmod, prpasswd or eduath don't seem to do it.
   I can add users to secondary groups with 'usermod -G group uname'
   but it says nothing about removing users from groups...

3. Finally is there any way to list the group info in the enhanced
   security db? One one machine I have I get errors while adding new
   groups:

   # groupadd -g 300 webunix
   groupadd: Group ID already in use

   GID 300 isn't in use as far as I can tell. I get these errors if I use
   the CLI or sysman/dxaccounts. I've run authck but it reports that
   everything is fine...


Any advice appreciated,

Thanks

Paul
Received on Tue Aug 14 2001 - 10:20:53 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT