LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 01-16-2004, 05:16 AM   #16
GrimaceCX
Newbie
 
Registered: Dec 2003
Location: Knysna, South Africa
Distribution: Mandrake 9.2 and Fedora 2
Posts: 6

Rep: Reputation: 0
the solution for 9.2


Hey all
Ok, here is the solution for the 9.2!!
add the user without the dot , then edit the /etc/passwd line of each user and save, exit....
then, run pwconv to update etc/shadow and run grpconv to update etc/group.
If you have a look into the home dir, you'll see the users still ave no dot, but if you log onto the box or log in through mail or whatever, you will need to use the name WITH the dot. So setting up mail accounts is a bit of a mission if you have multiple users with dots (as i do) but at least it works!
Cheers

 
Old 08-10-2004, 05:53 PM   #17
Cori
LQ Newbie
 
Registered: Aug 2004
Location: texas
Distribution: RedHat/SuSE
Posts: 3

Rep: Reputation: 0
Unhappy same here :(

Quote:
Originally posted by GrimaceCX
Thanks Dalek
Tried it (luseradd "jon.doe") but still get the same error (Error creating group `jon.doe'.)
This is insane - considering going back to 9.1!!!
Cheers..
I get the same things.. so I also tried luseradd and got the (Error creating group) so I went back and added the '-g <groupname>' option and it gave me this:

./luseradd -d /home/don -c 'Don Jones' -g users -p 'something' don.jones
Account creation failed: name contains invalid char `.'.

I can change the passwd file and the shadow file and it allows it. I still see problems getting email tho and trying to figure that out.
 
Old 08-10-2004, 07:16 PM   #18
Cori
LQ Newbie
 
Registered: Aug 2004
Location: texas
Distribution: RedHat/SuSE
Posts: 3

Rep: Reputation: 0
Re: the solution for 9.2

Quote:
Originally posted by GrimaceCX
Hey all
Ok, here is the solution for the 9.2!!
add the user without the dot , then edit the /etc/passwd line of each user and save, exit....
then, run pwconv to update etc/shadow and run grpconv to update etc/group.
If you have a look into the home dir, you'll see the users still ave no dot, but if you log onto the box or log in through mail or whatever, you will need to use the name WITH the dot. So setting up mail accounts is a bit of a mission if you have multiple users with dots (as i do) but at least it works!
Cheers

Yap this solution is good and works well (at least under RedHat 9x) but after running the pwconv and grpconv I still had to rechange my passwords for all the of user1st.username2nd accounts before they could log in and get their email. Easy solution, but if you don't watch it and this happens to you, you might wind up locking yourself out of your own server. Be sure to have another account with single name handy just in case.

-Cor
 
Old 08-10-2004, 07:48 PM   #19
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi Cori,

and welcome to LQ!

One thing I don't understand is why you posted
to this thread twice since it already had your solution
as well :}


Cheers,
Tink
 
Old 08-12-2004, 12:20 PM   #20
naren
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
U can try using useradd john\.doe
 
Old 08-29-2004, 07:31 AM   #21
bitrunner
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
I migrateted a RH7,3 to debian when I had this problem with not anymore allow dot in usernames. I solved it quite esailt though. I added the user without the dot and added an alias with the dot in sendmail aliases file. Works great.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Complex user names future assassin Linux - Security 3 08-08-2005 10:48 PM
How to add user with dot in between manya Linux - Security 2 08-12-2004 07:41 AM
useradd not accepting dot so i am not able to use dot in mail id hanu_raob Linux - General 5 05-13-2004 07:04 AM
How can user names be changed? petercool LQ Suggestions & Feedback 4 05-19-2003 08:59 AM
User names neo77777 General 8 08-10-2002 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration