NAME

MYDan::Util::Sudo - Become a user by setting uid or invoking sudo

SYNOPSIS

 use MYDan::Util::Sudo;

 MYDan::Util::Sudo->sudo( 'joe' );

Methods

sudo( $user )

Become $user ( default root ).