'Identify the remote operating system and get some remote variables to
show to the user.'

def identify_os(self):

    self._rOS = os_detection_exec(self.execute)
    if (self._rOS == 'linux'):
        self._rUser = self.execute('whoami').strip()
        self._rSystem = self.execute('uname    -o    -r    -n    -m    -s').strip()
        self._rSystemName = self.execute('uname    -n').strip()
    elif (self._rOS == 'windows'):
        self._rUser = self.execute('echo    %USERDOMAIN%\\%USERNAME%').strip()
        self._rSystem = self.execute('echo    %COMPUTERNAME%    -    %OS%    -    %PROCESSOR_IDENTIFIER%').strip()
        self._rSystemName = self.execute('echo    %COMPUTERNAME%').strip()
    else:
        self._rUser = 'unknown'
        self._rSystem = 'unknown'
        self._rSystemName = 'unknown'
