On Fri, 2004-08-20 at 21:36, benjlijel CHAKIB wrote: > hello > i have probleme whith the command useradd .i want to > add a new user whith his passwd at the same time > i write > useradd myusername -p myuserpasswd You can do that only if the passwd is pre-encrypted. (eg: using crypt) The other way to do it is actually to script it and pass the passwd from stdin passwd --stdin myuserpasswd -- Ow Mun Heng Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.7-2.jul1-interactive Neuromancer 22:11:47 up 40 min, 5 users, load average: 0.48, 0.79, 0.72