[Mageia-discuss] Feature request: uppercase letters in user names
nicolas vigier
boklm at mars-attacks.org
Wed Dec 14 17:38:34 CET 2011
On Wed, 14 Dec 2011, Romain d'Alverny wrote:
> On Wed, Dec 14, 2011 at 17:01, Florian Hubold <doktor5000 at arcor.de> wrote:
> > Am 14.12.2011 16:33, schrieb Renaud (Ron) Olgiati:
> >>> First, it is not clear if the request is clearly about the system user
> >>> id/login or about the user real name
> >> From what he wrote, I get the impression he prefers to see iZoli, rather than
> >> izoli, when working the CLI. Why not ?
> >
> > Well, then just change the prompt, so it will display iZoli. Why do we need
> > to support uppercase letters in user names for that?
>
> Indeed. The uid is not meant to be the display name, unless by
> default. Wondered if we had a better option than export FULLNAME=`grep
> -e "^$USER:" /etc/passwd|gawk -F':' '{print $5}'` in .bash_profile?
getent passwd $USER | gawk -F':' '{print $5}'
so that it works if the account is not in /etc/passwd.
More information about the Mageia-discuss
mailing list