> 
> [EMAIL PROTECTED] (Joe Ramus) writes:
> > Now we have some new Sun Solaris 2.4 systems and the output of "groups"
> > no longer has those 5 digit numbers. ...
> 
> If you've installed the BSD compatibility software, you should be able
> to use "/usr/ucb/groups" and continue to get the 5-digit numbers...
> 

You can also use the "id" command:

1# id -a
uid=4337(schemers) gid=10(staff) groups=33536,32520,10(staff)

Or since you are writing a perl script just use $):

2# perl -e 'print "$)\n";'
10 10 32520 33536

roland

-- 
Roland J. Schemers III              | 2550 Garcia Avenue, MS MTV14-210
Member of Technical Staff, SunSoft  | Mountain View, CA 94043-1100
[EMAIL PROTECTED]         | (415) 336-1035 (phone)
[EMAIL PROTECTED]        | (415) 336-3156 (fax)

Reply via email to