groups?
Alan Peery
peery at io.com
Tue Mar 2 08:26:11 UTC 2004
Ivan Cheniot wrote:
> Where does it take the info? Can't find it in the environnement
> variables.
If it was stored in environment variables, the user would be able to
change it--which would not be very secure.
This information is stored in the process descriptor. If you want to
get a pointer to how it functions, start reading source code for the
"su" program, and for the getgid() and setgid() system calls.
Alan
More information about the redhat-list
mailing list