Re: groups?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux