user and groups

Hi,

(will this be read? :wink: lets have a try!)

what do i have to do, if i want my user larry be in several groups:
users and dbadmin
for example?

i found i can switch my group by adding larry to /etc/group to the end of
the dbadmin line and using newgrp dbadmin.

BUT i there a way like in linux? Have main groups and others i am member of?

By the way: Could someone write some stuff about this? QNX Team? Other
volunteers? :wink:

Thanx
Christian

CG <exai17@yahoo.de> wrote:

Hi,

(will this be read? > :wink: > lets have a try!)

what do i have to do, if i want my user larry be in several groups:
users and dbadmin
for example?

i found i can switch my group by adding larry to /etc/group to the end of
the dbadmin line and using newgrp dbadmin.

If you have larry listed in /etc/group for both users and dbadmin, then
larry should be able to access files that have group permissions for
any groups you are a member of.

To see your groups, you can type “id” at the command line.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

David Gibbs <dagibbs@qnx.com> wrote:

CG <> exai17@yahoo.de> > wrote:
Hi,

(will this be read? > :wink: > lets have a try!)

what do i have to do, if i want my user larry be in several groups:
users and dbadmin
for example?

i found i can switch my group by adding larry to /etc/group to the end of
the dbadmin line and using newgrp dbadmin.

If you have larry listed in /etc/group for both users and dbadmin, then
larry should be able to access files that have group permissions for
any groups you are a member of.

The above is true for QNX6 – not QNX4. You didn’t specify which
you were running. Under QNX4, we didn’t have supplemental group
support – you had to newgrp.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.