From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669621890.tru64-unix-managers.marc@archive.invalid> From: Paul Reilly Date: Tue, 14 Aug 2001 10:19:25 +0000 To: tru64-unix-managers Subject: Questions about user/group admin X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669621890 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