--NoDisclaim-- I cant use an editor to mass update and change usernames as this is a part of an automatic useradd routine written in an ancient legacy application which calls useradd and usermod, we have been using this software for more than 15 years, so its hard for me to argue for a rewrite, so im forced to bend the OS instead it isnt a problem on redhat 8.0, so somewhere in the patches for shadow utils. there must be a change to this behaviour.. up until now i have created the useradds with lower case and manually converted them to upper case I am aware that it is a no no to use upper case usernames, but we have been doing it for years without problems so... thanks for the answers so far best regards claus derlien -----Oprindelig meddelelse----- Fra: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx]P? vegne af Les Mikesell Sendt: 1. februar 2006 18:06 Til: CentOS mailing list Emne: Re: usernames with capitals On Wed, 2006-02-01 at 08:45, Barry Brimer wrote: > > If it is just for a set of existing users, I'd add them in > > lowercase, then edit > > /etc/passwd > > /etc/shadow > > /etc/group > > /etc/gshadow > > and mv the /home/ directory to names you want (making sure > > everything matches). > > You might choose to use vipw and vigr to edit the above files as well. > > If you use local mail spools, you will need to rename /var/spool/mail/user > to /var/spool/mail/USER That's actually a different problem and a good reason by itself not to ever use uppercase in a user login name. Mailers on unix-like systems usually want to lowercase the address. I've always avoided doing this myself so I'm not sure about the details or how to work around it. -- Les Mikesell lesmikesell@xxxxxxxxx _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos **************************************************************************** Denne mail er blevet scannet af http://www.virus112.com **************************************************************************** Frie Funktion?rer - faglig organisation og tv?rfaglig a-kasse - www.f-f.dk *************************************************************************************************************************************** Denne email og alle filer vedlagt som bilag kan indeholde fortroligt materiale, der kun er beregnet for adressaten, og maa ikke udleveres eller kopieres til uvedkommende. Har De ved en fejltagelse modtaget denne email, bedes De venligst omgaaende meddele os dette pr. telefon : 6313 8550. Paa forhaand tak. *************************************************************************************************************************************** This email and any files transmitted with it may contain confidential information intended for the addressee(s) only. The information is not to be surrendered or copied to unauthorised persons. If you have received this communication in error, please notify us immediately by telephone: +45 6313 8550. Thank you. ***************************************************************************************************************************************