[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: urgetn adduser with .dot



Vijaya S said:
> Hi all,
> I want to add a user with .in between for example john.doe
>
> But in debian sarge i was not able to do it with adduser
> so i tried with useradd and it was successful. There was an entry in
> /etc/passwd file
> But when i cd /home/john.doe
> it says no such file or directory and i cant see any directory in /home
> as john.doe.
>
> Pls tell me what am i doing wrong
> i need this for my mail server
> I treid same with redhat and it worked
> is it a debian issue?
>
> Regards,
> Vijaya
>
>


Read "man useradd" and you will see that to create the home directory you
need to do useradd -m user.name . FYI, having a dot in the username is not
the best practice. Some programs will barf on that, though they are few
and far between.

Sam




Reply to: