Date: Tue, 21 Aug 2001 20:22:28 -0500 From: Mike Meyer <mwm@mired.org> To: parv <parv_@yahoo.com> Cc: questions@freebsd.org Subject: Re: looking for _readable_ tfm on real/effective/saved/set u/gid Message-ID: <15235.2388.12565.721472@guru.mired.org> In-Reply-To: <77582972@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
parv <parv_@yahoo.com> types: > this was, on the fateful occasion around Aug 20 21:26 -0400, > sent by Milo Hyson > > On Monday 20 August 2001 05:34 pm, parv wrote: > > > can anybody point me to readable manuals/articles/etc on real/effective > > > uid/gid? > > Here's a link to a simple little explanation that I wrote: > > http://www.cyberlifelabs.com/library/unix/real-vs-effective-uid-gid.html > no it wasn't. quite good enough for me to start understand. > where do the ps options "svgid" and "svuid" (saved gid/uid from > a setgid/setuid executable) figure in in grand scheme of things? Those are the "saved" id. That's initially the same as the real id, and you can always change any of the real/effective/saved id's to any of those three values. As far as I can tell, it's got no other use than allowing you to change the real and effective ids to it, so it's basically bookeeping that's required by the POSIX id manipulation APIs. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15235.2388.12565.721472>