>>
>> why there is no /home/usename directory after the user were
>> succesfully created ?
>> ("I think second error is consequence of that ")
>>
>> please help .
>>
>
> From "man useradd"
>
> -d, --home HOME_DIR
> The new user will be created using HOME_DIR as the value for the
> user's login directory. The default is to append the LOGIN name to
> BASE_DIR and use that as the login directory name. The directory
> HOME_DIR does not have to exist but will not be created if it is
> missing.
Actually, you want to use "-m" with useradd (this is what I use). From
the man page,
" -m, --create-home
Create the users home directory if it does not exist. The files and
directories contained in the skeleton directory (which can be
defined with the -k option) will be copied to the home directory.
By default, no home directories are created."
Sharad
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer