原命令:useradd python 改正后:useradd python -m 后成功在home目录下创建文件夹 原因: man useradd就可以看到如此介绍:Create the user´s home directory if it does not exist.(它将创建用户的主目录即使不存在) 接着下面useradd will create the home directory unless CREATE_HOME in /etc/login.defs is set to no.…
// The name of the account under which the service should run// 1 NT AUTHORITY\\SYSTEM 2 NT AUTHORITY\\NetworkService 3 NT AUTHORITY\\LocalService#define SERVICE_ACCOUNT L"NT AUTHORITY\\NetworkService" // The password to the service account name…