how to assign password for a user in shell script
The problem is to create a user and assign a password for that user from the shell script instead of at prompt.
when i create a shell file
and i have typed
passwd xyz pqr
and when i run the shell by giving bash file name, the new user is created but the password is not assigned, it is treating pqr is also a username
please tell me how to assign password for a user from the shell script
thanks in Advance
Last edited by mtest; 10-16-2003 at 07:50 AM.