Re: C/C++ problem
| From: | Andrey Hristov | Date: | Wed, 10 Oct 2001 17:04:42 +0000 |
| Subject: | Re: C/C++ problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70700@lists.php.net to get a copy of this message | ||
getuid()
getpid() for the process.
getgid
also with set(setgid()) but if have the rights
--
Andrey Hristov
Web Developer
IcyGEN Corporation
BALANCED SOLUTIONS
http://www.icygen.com
On Wednesday 10 October 2001 19:41, you wrote:
> Hello!
>
> I know it's not a proper list to ask this question, but
> I need help quick, so please....
> What is a C/C++ function to check username / userid (UID)
> of the one, who executed the program? (Under Linux system.)
> Eventually what is the name of system command to check
> the user?
>
> Kamil 'Hilarion' Nowicki