usernames with capitals

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



On 01/02/06, Claus Derlien <CD@xxxxxx> wrote:
> Hi, im new to the list, so bear with me if this was discussed earlier!
>
> For historical issues we need to maintain usernames in all capitals ie. CD
>
> our test environment is running centos 3.4 - our live environment is on redhat 8.0
>
> the useradd program won't allow me to create a new user with capitals, and
> usermod wont change a lower case user name to upper case!
>
> What is my options now ? - do i have to hack the package or is there a known work around ?
>

Not that it helps you, but this works fine on CentOS 4.

[root@willspc ~]# useradd TEST
[root@willspc ~]# tail -1 /etc/passwd
TEST:x:1074:1074::/home/TEST:/bin/bash
[root@willspc ~]#

You could just create the entries yourself in /etc/passwd and
/etc/shadow. (Obviously after creating backups copies JIC.)

Will.

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux