.Python. Is this possible to ask and log as root in a program?

后端 未结 0 485
南方客
南方客 2021-02-06 00:34

so this is the part where I actually block, and after had search a long time I found nothing on this subject :c

    while os.geteuid() != 0:
        print("Y         


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