tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul Reilly <pareilly () tcd ! ie>
To: tru64-unix-managers
Subject: Questions about user/group admin
Date: Tue, 14 Aug 2001 10:19:25 +0000	[thread overview]
Message-ID: <102653669621890.tru64-unix-managers.marc@archive.invalid> (raw)


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

                 reply	other threads:[~2001-08-14 10:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox