Unix Programming - uid/gui - username / groupname

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2004 > uid/gui - username / groupname





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author uid/gui - username / groupname
vp

2004-01-23, 5:33 pm

I am working on the acl() of Solaris and am looking for a way to
convert the uid/gid to username/group name.

Does Solaris have some API to do that ?

Thanks,

DT
Rich Teer

2004-01-23, 5:33 pm

On Mon, 22 Dec 2003, vp wrote:
quote:

> I am working on the acl() of Solaris and am looking for a way to
> convert the uid/gid to username/group name.



man getpwuid

--
Rich Teer, SCNA, SCSA . * * . * .* .
. * . .*
President, * . . /\ ( . . *
Rite Online Inc. . . / .\ . * .
.*. / * \ . .
. /* o \ .
Voice: +1 (250) 979-1638 * '''||''' .
URL: http://www.rite-online.net ******************
vp

2004-01-23, 5:33 pm

Rich Teer <rich.teer@rite-group.com> wrote in message news:<Pine.SOL.4.58.0312222110140.38@zaphod.rite-group.com>...
quote:

> On Mon, 22 Dec 2003, vp wrote:
>
>
> man getpwuid



Thanks. It is exactly what I need.

DT
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com