Linux usernames with capital letters not working

in Categories , last updated November 28, 2006

Q. Why Linux usernames with capital letters are not working? When I run adduser command I get bad username or Use the `–force-badname’ message. I am using Debian Linux.

A. You should always try to avoid Linux usernames with capital letters in them. Many server program such as FTP server or sendmail makes no difference between a user name ‘Vivek’ and ‘vivek’. Further many windows clients such as OE or IE make no distinction between capital letters.

So ftp username or or email id or treated as same.

Hence most Linux distro will disable Linux usernames with capital letters in them via adduser or other gui tools such as redhat-config-users (fedora core/centos/RHEL).

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):