How to create user with period (.)

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



On Thursday 02 March 2006 05:30, Zeb Fletcher wrote:
> As mentioned earlier you might run in to issues with programs have problems
> with the special character. If your wanting to be able to do e-mail from
> your box and have a dot in the name then create the entry in the alisas
> file.

As an example of this: 

Assume user b.jones, group "usergroup", and you want to change the ownership 
of file foo

chown b.jones.usergroup foo

You can use colon, but dot is still legal, and many scripts use the dot. From 
the man page:  

       If the user name is
       followed by a colon or dot and a group name (or numeric group ID), with
       no  spaces between them, the group ownership of the files is changed as
       well.

Why would you feel you *need* a username with a dot in it? 

> Zeb
> 
> 
> On 3/2/06, Cleber P. de Souza <cleberps@xxxxxxxxx> wrote:
> >
> > I didnt find a way to create usernames with dots, but you could create
> > a normal user without dots and so change passwd, shadow and group by
> > hand to the new username with dots.
> >
> > On 3/2/06, Ralph Angenendt <ra+centos@xxxxxxxxxxxx> wrote:
> > > spart cus wrote:
> > > >
> > > >    hi guys,
> > > >    how can i create a username with period ? Like for example
> > > >    username: linux.spartacus
> > >
> > > That *might* lead to problems within application software not expecting
> > > punctuation in usernames.
> > >
> > > Why do you want to do this? Maybe there is another solution to the
> > > problem you are trying to solve ...
> > >
> > > Ralph
> > > --
> > > Ralph Angenendt......ra@xxxxxxxxxxxx | .."Text processing has made it
> > possible
> > > Bayerischer Rundfunk...80300 M?nchen | ....to right-justify any idea,
> > even one
> > > Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any
> > other
> > > Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J.
> > Finnegan, USC
> > >
> > >
> > > _______________________________________________
> > > CentOS mailing list
> > > CentOS@xxxxxxxxxx
> > > http://lists.centos.org/mailman/listinfo/centos
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Cleber P. de Souza
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > http://lists.centos.org/mailman/listinfo/centos
> >
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 

-- 
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux