Commit 3a8b267f authored by Leigh B Stoller's avatar Leigh B Stoller

Add GeniUser() to lookup emulab pseudo user.

parent cb568390
......@@ -46,6 +46,7 @@ use Time::Local;
use GeniHRN;
use GeniResponse;
use EmulabConstants;
use User;
# Configure variables
my $TB = "@prefix@";
......@@ -136,6 +137,14 @@ sub FlipToElabMan()
return FlipToUser($PROTOUSER, $PROTOPROJ);
}
#
# Lookup the geniuser.
#
sub GeniUser()
{
return User->Lookup($GENIUSER);
}
#
# Execute a command as GeniUser and then return to original UID/GID
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment