QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
How to set up a member for two groups |
Ref. No. |
QNX.000007766 |
Category(ies) |
Configuration |
Issue |
In QNX 4.25 when we attempt to use the 'newgrp' command to change to a secondary group we get a message saying I'm not a member of the group and get logged off the shell. How do we ourselfs part of two groups?
|
Solution |
The user must be added to the secondary group in the etc/group file (as the superuser).
'newgrp' is used to switch between the groups but it is looking at the etc/group to see if the user is a member of the secondary group.
For further details, see /etc/group in the 'Setting Up User Accounts' chapter of the QNX OS Installation and Configuration Manual.
|
|