This is a discussion on Program permission during dynamic linking within the Linux Security forums, part of the System Security and Security Related category; Hello, If a program P with security of user "goo" uses a library (.so file) during running, which ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
If a program P with security of user "goo" uses a library (.so file) during running, which has permission "root", what is the privilege of program P? Is it goo throughout, root throughout, or goo when its in its own code, and root when the lib gets invoked? Thanks. |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 26 Dec 2005 01:43:11 -0800, binary-nomad@hotmail.com <binary-nomad@hotmail.com> wrote: > Hello, > If a program P with security of user "goo" uses a library (.so file) > during running, which has permission "root", what is the privilege of > program P? > Is it goo throughout, root throughout, or goo when its in its own code, > and root when the lib gets invoked? > > > Thanks. > Assuming no funny business with SUID or SetGUID, programme P runs with permissions of user goo, the permissions of the library, are not relevent. The library is just a file that gets loaded by ld. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDr8e4d90bcYOAWPYRAqJrAJ9eTpbQXqVMcAkNHYVmpK v4daq3GQCeN0q2 Hz7PBjJOGsBr7QufKozTYiY= =Tc2X -----END PGP SIGNATURE----- -- Jim Richardson http://www.eskimo.com/~warlock Don't get mad, get Linux |