Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm migrating my company's Windows 2000 domain to a Samba domain. In our windows domain, we have user names like "john.doe" or "ema.nymton". Very easy because it includes first name and last name (like our email addresses, etc). Is this also possible in Unix / Linux, because untill now, whenever I tried to add a user with a dot, it tells me it's invalid. Editing /etc/passwd directly and trying to change that user's password with /usr/bin/passwd doens't work. Do I need a escape char or something? All help / comments / advise welcome. Thanks.
Just letting you guys know I found the solution. Since Mandrake 9.1 / Redhad 9.0 / ... they don't allow dots anymore in 'useradd'. However, you can use the command 'luseradd' which still has all features like using dots. I find this very confusing. Why on earth would someone disallow use of dots in usernames? Anyway, you can also edit /etc/passwd and /etc/shadow yourself. Then doing a passwd on the newly created user lets you change the password.
With great excitement I read through the posts, but alas I get the following error...
Error creating group `jon.doe'.
Not surprisingly there is nothing in the passwd or shadow file to edit regarding the user as nothing was completed.
Any suggestions from here would be greatly appreciated (Mandrake 9.2)
Just a note - on our mail server running 9.1, the luseradd command worked like a treat with the "." in the name, but on the new 9.2 I'm getting the error in the last post - "Error creating group 'j.doe'"
Any brilliant ideas?