Re: How to create username with "."

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

 



Hi Marq
I am using RHEL v4 and works fine, I can add users with a ".", it happened to 
me with RHEL v3 and solved the problem with updating some package 
shadow-utils.

Thanks

 --Adel

On Thursday 21 September 2006 15:44, Miner, Jonathan W (CSC) (US SSA) wrote:
> >Marq wrote:
> >> Hi
> >>
> >> When i create username like this
> >> "useradd user.name"
> >> It shows the error message saying that the name contains invalid
> >> characters
> >
> >It is bad idea to create such users.  For example, chown command accepts
> >argument of type "user.group".  You should stick with letters and numbers.
>
> The chown(1) man page says that a colon ":" is the delimiting character:
>
> NAME
>        chown - change file owner and group
>
> SYNOPSIS
>        chown [OPTION]... [OWNER][:[GROUP]] FILE...
>
>
> My advice to Marq would be to use a dummy username, and then manually edit
> the passwd and shadow files.  We've been using usernames like first.m.last
> for several years to maintain compatibility with another operating system;
> the users don't like having to use the long usernames but it works.

-- 
Adel Ben Zarrouk
Senior Project Manager
Opennet MEA FZ LLC
Tel: +971 4 390 1943
Fax: +971 4 390 4360
Cell:+971 50 458 2797
http://www.opennet.ae/

-- 
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