# check if root
$user = `whoami`;
chomp $user;
if($user ne "root") {
print "You must be root to execute this command. Please login as root or use sudo command!\n";
exit;
}
Friday, January 8, 2010
Subscribe to:
Post Comments (Atom)
sverdianto-blog.blogspot.com
No comments:
Post a Comment