setuid sudo. Bash. Setuid , sudo. sudo setuid, root. setuid ( ) .
, , , , . Ruby Perl , script , , . Taint mode. Bash taint.
Taint , .
:
chmod script, 4755, root:
$ chmod 4755 script.rb
$ chown root script.rb
script, . setuid script, root. .
. Ruby taint, Ruby, , . perlsec faq, , Perl.
. , root . Bash! Ruby Perl Bash. Taint .