Python get username when active user is root

后端 未结 0 810
臣服心动
臣服心动 2020-12-22 01:39

I\'m trying to use the os module and the getpass module via the getuser() and getlogin() functions. However these are just returning "root" because my script has t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题