[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to list supplementary groups?
From: |
Adrian Buciuman |
Subject: |
Re: how to list supplementary groups? |
Date: |
Thu, 29 Dec 2005 00:37:06 +0200 |
On 12/28/05, Alfred M. Szmidt <address@hidden> wrote:
> So how can I find the supplementary groups of process 4321 using id
> or groups? It does't seem to be possible.
>
> You'd need to hack a bit for that to work. Something like I dunno:
>
> address@hidden:~$ id `ps -up 2551|tail -n1|awk '{print $1}'`
> uid=30270(ams) gid=134(update) groups=134(update)
>
> Replace 2551 with your process.
>
This gives me the groups my process should have, not the ones it actually has.
See:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-0787
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0080
How can a system administrator check that things like this don't
happen on his/her box?