Re: pure number allowed as username in the useradd command?

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

 



On Thu, 2010-12-02 at 18:10 +0100, Joachim Backes wrote:
> Can somebody explain why pure numbers are allowed for username in the
> useradd command?
> 
> sudo useradd 123456789
> 
> is not rejected!
> 
> As is known, this leads to big problems if referring to such a user and
> the username differs from the userid: should such a username be
> interpreted as username or userid?
> 
> Thanks for each comment.
> 
> Kind regards
> 
As you said using a pure number for userid can be diasterous But you
question needs to be answered by the creator of useradd.

I once created a useradd program with added functionality and I know
from first hand experience that are many pitfalls to get it to work
properly. Consider what happens if you have a userid that is the same
number as a userid.

-- 
=======================================================================
meetings, n.: A place where minutes are kept and hours are lost.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux