Link to home
Start Free TrialLog in
Avatar of jdsmspro
jdsmspro

asked on

GID from ksh

My SVR4 system runs several programs which need their own group id. I use newgrp for users to be able the different programs.

How van I determine the GID choosen to take actions according?

TIA
Avatar of mlev
mlev

On some systems, `id -g` gives you the answer.
I don't remember whether SVR4's id is "nice" or "dumb".
Even in the latter case, though, you can manipulate the output of "id".
ASKER CERTIFIED SOLUTION
Avatar of henrys
henrys

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jdsmspro

ASKER

id -a gives all groups. Otherwise it´s the dumb version.

Thanx1