LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   useradd not accepting dot so i am not able to use dot in mail id (https://www.linuxquestions.org/questions/linux-general-1/useradd-not-accepting-dot-so-i-am-not-able-to-use-dot-in-mail-id-172805/)

hanu_raob 04-21-2004 05:25 AM

useradd not accepting dot so i am not able to use dot in mail id
 
i am new to linux. and i started learning from redhat 9.0 so i am not much familiar with previous versions and i installed sendmail in my machine. but my manager wants to have a format for mail ids and he asked for a format
firstname.lastname@something.com

but when start creating users with useradd, its not accepting .(dot) in the username.
plz help me out if any alternatives are there.


advanced thanks for u r help

trickykid 04-21-2004 07:37 AM

Have you tried to manually add the user, adding to the passwd file, and so on?

hanu_raob 04-21-2004 09:06 AM

i have added manually to /ec/passwd file

example: test1.test:x:555:555::/home/test1.test:/bin/bash

and when i am trying to change the passwd using passwd test1.test
i am getting fallowing message

passwd test1.test
Changing password for user test1.test.
passwd: Authentication token manipulation error

and when i manually set the passwd in place of x in passwd file
there is happening a authentication failure. when see to login to system with that username and passwd its telling passwd is incorrect.

struberg 05-12-2004 01:17 PM

i have the same probleme with useradd, but manually adding the user works with fedora core 1

Is there a reason for useradd not to accept dot's in a username?

Or is it a tiny bug?

best regards,
strub


PS: @ hanu: u also have to edit /etc/shadow and maybe create a proper group in /etc/group and /etc/gshadow

hanu_raob 05-13-2004 04:41 AM

hi struberg


i tried like that adding to /etc/shadow file . but it dint work in redhatlinux 9 intel based . so what i did is i have created entries in /etc/aliases file like for test.test: test.test
so what ever mails come for test.test will move to test_test
also i have config all our outlook express with test_test nad passwds with displaying name as test.test

i have few users only so i am not fasing any problems now.

LinuxLala 05-13-2004 07:04 AM

Never mind me...

Sorry.


All times are GMT -5. The time now is 06:47 PM.