LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2007, 05:22 AM   #1
stwong
LQ Newbie
 
Registered: Mar 2007
Posts: 5

Rep: Reputation: 0
Pls help: numeric username not supported?


Hi all,

Our management want to use all numeric username (8 digits) in our systems which runs RedHat/CentOS/Fedora/Solaris/HP-UX.

Solaris doesn't like username longer than 8 characters and treats numeric username as uid.
I'd like to know if there is any
document that mentions restriction on the username format on various linux distro.

Would anyone pls help? Thanks.
 
Old 03-30-2007, 06:12 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
Hi,

I answered this a long time ago (old thread).

In short: Officially you are not allowed to let a login name start with a number and (some) flavors will complain about this.

You could try the solution that is given in the forementioned thread: Manually edit the /etc/passwd file. It would not be something I would do....

Hope this helps.
 
Old 03-31-2007, 09:45 AM   #3
stwong
LQ Newbie
 
Registered: Mar 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I won't do that neither.

Found that some tools like system-config-user, quota, etc. don't like numeric usernames...

Thanks a lot.
 
Old 03-31-2007, 10:14 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
My system (Mepis) was more than happy to create a user named "1234". so I guess the answer is "it depends"

But--why fight an unnecessary battle??? What is the benefit of all numeric user names?
 
Old 03-31-2007, 10:41 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
One way to circulate this problem, if they like it and the system used lets you put numbers in the name (but not begin it with a number), is to simply put one letter in front of all usernames; for example create users like a1234567, a2345671, a3456712 etc. I would still rather use usernames with letters too, and I hope you're not using digit-only passwords: using letters means more alternatives compared to just numbers, which means more work to crack a password. For a username it's not that important because usernames are generally less secret than passwords, or so it seems.
 
Old 04-01-2007, 08:45 AM   #6
stwong
LQ Newbie
 
Registered: Mar 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Our managers only yell "we want to make organization id and username on linux/unix machines the same" (organization id is unique identifier used in my organization...they're all numbers).

They never tell me why this is necessray. :-( I'm gathering information about the downside of such "management decision".

Thanks to all who replied.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
useradd: invalid username username$ engyeow Fedora 5 12-05-2004 05:35 AM
Help installing Numeric-23.6 Multra Linux - Newbie 3 10-26-2004 06:14 PM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 06:12 PM
chmod u+s = numeric? kidwired Linux - Newbie 4 01-20-2003 12:24 AM
Numeric Permissions MelLinux Linux - General 3 10-18-2002 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration