os.getloginで取得できる。
os.getlogin
>>> import os >>> os.getlogin() 'rydbr'
platform.system()
socket.gethostname()