判断是否是root用户,若不是则提示并退出。建立server socket。等待用户连接,并建立相应用户的子进程。 转载于:https://www.cnblogs.com/superPerfect/p/3695178.html