how to get common name using gid and uid

From: Chris W. Parker (cparker_at_swatgear.com)
Date: 03/18/04

  • Next message: Reuben D. Budiardja: "Re: redhat 2.1 linux chown problem"
    Date: Thu, 18 Mar 2004 09:55:21 -0800
    To: <redhat-list@redhat.com>
    
    

    hello,

    given a gid or uid, how do i get the group name or user name
    respectively? i'm doing this within php, but i will be executing
    something via the cl and then storing the results. i know i can grep the
    /etc/passwd and /etc/group files but i'd like to find out if there's a
    better way.

    can someone help me out with this?

    thanks,
    chris.

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Reuben D. Budiardja: "Re: redhat 2.1 linux chown problem"

    Relevant Pages