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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to