daljitsingh
Programmer
When I login to a Solaris 2.8 machine my default group is taken as my primary group from /etc/passwd. Can I automatically override this in any way, e.g. have an entry in my login shell or .cshrc profile ?
I have tried placing "newgrp staff" in my .cshrc file but I get "newgrp: Sorry" when I login and this loops continuosuly.
I know I can manually use the newgrp command but I would like this to be part of the login process.
Thanks in advance
I have tried placing "newgrp staff" in my .cshrc file but I get "newgrp: Sorry" when I login and this loops continuosuly.
I know I can manually use the newgrp command but I would like this to be part of the login process.
Thanks in advance