LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Create user accounts from shell script? (https://www.linuxquestions.org/questions/linux-newbie-8/create-user-accounts-from-shell-script-624270/)

maheshkodamati 02-26-2008 11:19 AM

Create user accounts from shell script?
 
i want to setup a password for an account in linux.i dont want to setup in command line,but i want to write a shellscript for it.so that if anyone can give their username,they can setup their password.I tried useradd -p username and passwd commands for it.but i cannot setup it.can anyone help for me.
please............

win32sux 02-26-2008 11:46 AM

Quote:

Originally Posted by maheshkodamati (Post 3070463)
i want to setup a password for an account in linux.i dont want to setup in command line,but i want to write a shellscript for it.so that if anyone can give their username,they can setup their password.I tried useradd -p username and passwd commands for it.but i cannot setup it.can anyone help for me.
please............

maheshkodamati, you have blatantly disregarded my kind request to stop adding unrelated questions into your threads. If you keep this type of behaviour up you will simply make it much harder to get any help here at LQ. And eventually, you will lose your privileges as the Mod Team isn't gonna go around moving your posts into proper locations for ever. Consider this your first (and hopefully last) official public warning regarding this matter.


All times are GMT -5. The time now is 12:07 PM.