/usr/sbin/useradd lock password file issue ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have problem with /usr/sbin/useradd from Red Hat 9.0, I created account
registration website and then call script has the following part:

system("/usr/sbin/useradd -c\"$fullname\" -d$HOME/$emailadd -g$GROUP -m -
k$SKEL -s$SHELL -p$encpass $emailadd");

All the variables are read from user input, after user submit, should
create account on my machine. But it does not work. And here is error from the
apache http error log:

[Fri Dec 05 10:02:40 2003] [error] [client xxx.xx.xxx.xx] useradd: unable
to lock password file, referer: to your script.

how to fix the lock password file?

thanks!

Jim



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux