()
return console_user
Returns current console user.
Returns current console user.
Returns current console user .
def GetConsoleUser():
  """Returns current console user."""
  stat_info = os.stat('/dev/console')
  console_user = pwd.getpwuid(stat_info.st_uid)[0]
  return console_user
def GetConsoleUser ( ) : stat_info = os . stat ( '/dev/console' ) console_user = pwd . getpwuid ( stat_info . st_uid ) [ 0 ] return console_user