Dear Vipin,
I think the solution to your problem lies in the following article:
http://www.telecofreaks.net/modules.php?name=News&file=article&sid=9
Cheers
Arminder Singh Girgla
Moderator
+91-98882-27779
-----Original Message-----
From: linux_chandigarh@...
[mailto:linux_chandigarh@...] On Behalf Of Vipin Kumar Singla
Sent: Friday, December 30, 2005 3:10 PM
To: linux_chandigarh@...
Subject: [linux_chandigarh] [Help Required] Adding user and giving password
in singla command
Hello
I am trying to make a simple application in php and i need to know how
to create a linux user and giving him password in a single command.
I tried
useradd user_name -p password
but it doesn't work. in man pages it is written that password should
be encrypted. I tried that also but still failed. could you please
help me out of this situation.
Thanks
Vipin Kumar Singla
Yahoo! Groups Links