On Tue, May 20, 2008 at 05:21:28PM +0530, Agnello George wrote:
HI i had a small query, i wanted to know if it is possible to create a home directory for a particular user by just editing the /etc/passwd file.
No.
Suppose for eg : i have abt 1000 unix users, and due to some unforseen reasons my server crashes, however i have copy of the /etc/passwd and /etc/shadow file , Now is there a way to directly add those ( 1000 odd user ) to my system with out actually manually using the useradd command
chpasswd(8)
Devdas Bhagat