def findUser():
 return (os.environ.get('SUDO_USER', False) or (quietRun('who am i').split() or [False])[0] or quietRun('whoami').strip())

def findUser ( ) : return ( os . environ . get ( 'SUDO_USER' , False ) or ( quietRun ( 'who am i' ) . split ( ) or [ False ] ) [ 0 ] or quietRun ( 'whoami' ) . strip ( ) )
try to return logged-in user .