Hi,
I have a question regarding the gpasswd and newgrp commands.
I created a new group called test, then set the group administrator
to be my local userid, (call it foo). Then from my foo account I did
gpasswd test and changed the group passwd. Then I added the user
user1 to the group test. From user1's account I can newgrp test and
change my primary group to test without supplying the password.
However, if I try to `newgrp test` from any account that is not a
member of the group it fails even if I supply the correct group password.
Am I misinterpreting the usage of newgrp? I thought that I could change to
a group that I am not in if I have the group password. What's wrong or am
I doing something incorrect?
Sheldon.
--
===========================================================
"... all thoughts of selfish desire, ill-will, hatred and
violence are the result of a lack of wisdom ... "
- Buddha
For an awsome fantasy role playing game checkout:
http://members.xoom.com/Lycadican
===========================================================