Unix::SetUser

Unix::SetUser is a Perl module to carefully drop root privileges.
Download

Unix::SetUser Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Dylan Martin
  • Publisher web site:
  • http://search.cpan.org/~dmartin/Unix-SavedIDs-0.4.1/lib/Unix/SetUser.pm

Unix::SetUser Tags


Unix::SetUser Description

Unix::SetUser is a Perl module to carefully drop root privileges. Unix::SetUser is a Perl module to carefully drop root privileges.SYNOPSIS use Unix::SetUser; if ( $> != 0 ) { die "Run this as root!n"; } # do something with root privileges set_user('nobody'); # do stuff without root privilegesDropping privileges is something that needs to be done right and can easily be done wrong. Even if you know how to do it right, it takes a lot of boring code. Requirements: · Perl


Unix::SetUser Related Software