Re: Group ID
On Thursday, February 20, 2003 03:04, Russell Shaw wrote:
> If i had to regenerate a config file that a program uses, is it
> possible to detect what GID the program uses if it is set from within
> the program?
I think the easiest way(s) would be:
1. read the documentation
2. look at that config file on another machine that does have that file
If the process runs for a little while, you could also run "top" or "ls"
and see what user it's running as. (Hardly perfect, but it might be
enough information to get it working.)
--
Michael Wardle
Adacel Technologies
Reply to:
- References:
- Group ID
- From: Russell Shaw <rjshaw@iprimus.com.au>
- Re: Group ID
- From: Michael Wardle <michael.wardle@adacel.com>
- Re: Group ID
- From: Russell Shaw <rjshaw@iprimus.com.au>