Re: Can't able to create user with DOTS in their name?

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

 



if you may use "root"
you may chang the files "/etc/passwd" and "/etc/shadow"
in "/etc/passwd" add  a line as:
   "nav.neet:x:your uid:your gid::your home dir:/bin/bash"
in "/etc/shadow" copy a line from other user's,chang the user name,such as:
   "nav.neet:$1$0e54yM5Z$trZCrRWBEG9qx.jZWZptR1:12849:0:99999:7:::"

save the change,then use "[root@L-tech root]passwd  nav.neet"
you can change the password for nav.neet

Regards
Zhang Lei

----- Original Message ----- From: "Navneet Choudhary" <navneetkc@xxxxxxxxx>
To: <redhat-list@xxxxxxxxxx>
Sent: Sunday, March 06, 2005 9:02 PM
Subject: Can't able to create user with DOTS in their name?



hi list,

 I can't able to create users having decimal point(s) in their name.
i.e nav.neet
Notice: decimal point between nav & neet.


#useradd nav.neet userdd: invalid user name 'nav.neet'


Since, this server will be used as Mail Server & my existing mail server (qmail on Redhat 6.2) supports DOTs in user name.Due to this problem, i export users from my existing server to new server. So, no upgradation mail !!!.


OS used/tested: Redhat 9 Fedora Core 1,2 & 3

OS that supports DOTs in user name:
Redhat 6.2.7.2 & 7.3

Tested by others(successfully):
HP-UX,Solaris & Debian Woody


Any help on this regards?


Thanks in advance.


Regards, Navneet

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux