LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2008, 03:37 AM   #1
Gurudatha
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
What characters are restricted in usernames


Hi,
Is there any limitations for usernames in linux?
are all characters allowed in usernames including ' ; " {} and many more..
if there are can you please post them

thankyou
Gurudatha
Gurudatha is offline Reply With Quote
 
Old 02-13-2008, 05:26 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
A lazy way would be to think up e-mail addresses (you know you can't have some chars in those). In any case you can easily test what you ask for yourself on your own GNU/Linux box with something like
Code:
for char in + # @ - ~ : ^ * ( ) | ^V^T ^V^J ^V^H < > \ / ? ! " ' ` , = ¢ £ ¤ ¥ ¦ § ¨ © ' ' { } \; ; do useradd "l${char}ser"; done
All you have to do is make a list of chars you think or know aren't working. Note you may have to quote some chars and to get ^V^T you type CTRL+V,CTRL+TAB.
 
  


Reply



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
For those with imaginative usernames . . . polarbear20000 General 58 05-24-2007 10:43 AM
How to modify the names of files and replace characters with other characters or symb peter88 Linux - General 2 12-10-2006 03:05 AM
usernames with dots yang11 Linux - Enterprise 2 03-18-2005 07:07 AM
MySQL Usernames cli_man Linux - Security 3 01-28-2005 03:31 PM
Usernames Zwitterion Linux - General 1 12-25-2002 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:13 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
Open Source Consulting | Domain Registration