Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us | -->
Your current position : Homepage > Free Software > Technological exchanges >Application Programming -->


    

Blue Forest http://www.lslnet.com at 2:08 p.m. on August 16, 2006

Channels 0-4, in the process reducing their euid meaningful?

Watched seteuid function that the process can be found to reduce their EUID super users, but in practice this is the meaning? Finally able to give an actual example, Thank you!

Re : Channels in the process of lowering their euid 0 meaningful?

Too useful, because in programming, such as CGI, in the implementation of CGI, with root权限 totally unnecessary, but if the setuid (), for example reduced to an ordinary user, the objective was achieved, but done, it was unable to call setuid (0). So setuid () is not a site. However, in order to achieve the same purpose, you can call the root of the seteuid () changed effective process ID, CGI code will not do what they wanted to do, they can always restore euid very convenient.




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com