Can't able to create user with DOTS in their name?
Mike Burger
mburger at bubbanfriends.org
Mon Mar 7 12:18:50 UTC 2005
Navneet:
You're really better off not using usernames with . in them, anyhow. You
can just as easily set up aliases for their email.
On Mon, 7 Mar 2005, Navneet Choudhary wrote:
> On Mon, 7 Mar 2005 10:25:25 +0800, Zhang Lei <zhl at nanjing-fnst.com> wrote:
> > 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 at L-tech root]passwd nav.neet"
> > you can change the password for nav.neet
>
> i don't want to manually edit /etc/password, /etc/shadow & /etc/group
> file for adding user.
>
> Since, this server will be used as Mail Server (as i already mentioned
> in my original mail),this tweak simple not feasible for me.
>
> any way thanks for your help.
>
>
> Regards,
> Navneet
>
>
> > Regards
> > Zhang Lei
> >
> > ----- Original Message -----
> > From: "Navneet Choudhary" <navneetkc at gmail.com>
> > To: <redhat-list at redhat.com>
> > 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 at redhat.com?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request at bubbanfriends.org
with a message of:
subscribe
More information about the redhat-list
mailing list