system ("$useradd -d /home/sites/site$site_count/users/$username -g site$site_count -G site-adm$site_count -p $password -s /bin/false -u $uid $username"); #### system ("$useradd -c \"$fullname\" -d /home/sites/site$site_count/users/$username -g site$site_count -G site-adm$site_count -p $password -s /bin/false -u $uid $username"); #### useradd: unable to lock password file #### open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/.pwd.lock", O_WRONLY|O_CREAT, 0600) = -1 EACCES (Permission denied) write(2, "useradd: unable to lock password"..., 38useradd: unable to lock password file