mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	add support for clienttype=other
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -93,6 +93,7 @@ sub submit_request {
 | 
			
		||||
if (!(defined($request->{username}))) {
 | 
			
		||||
  $request->{username}->[0] = getpwuid($>);
 | 
			
		||||
}
 | 
			
		||||
$request->{clienttype}->[0] = "cli";   # setup clienttype for auditlog
 | 
			
		||||
# If XCATBYPASS is set, invoke the plugin process_request method directly
 | 
			
		||||
# without going through the socket connection to the xcatd daemon
 | 
			
		||||
  if ($ENV{XCATBYPASS}) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user