From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-discuss/20111214/006101.html | 81 +++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 zarb-ml/mageia-discuss/20111214/006101.html (limited to 'zarb-ml/mageia-discuss/20111214/006101.html') diff --git a/zarb-ml/mageia-discuss/20111214/006101.html b/zarb-ml/mageia-discuss/20111214/006101.html new file mode 100644 index 000000000..a0f7df67c --- /dev/null +++ b/zarb-ml/mageia-discuss/20111214/006101.html @@ -0,0 +1,81 @@ + + + + [Mageia-discuss] Feature request: uppercase letters in user names + + + + + + + + + +

[Mageia-discuss] Feature request: uppercase letters in user names

+ Deri James + deri at chuzzlewit.demon.co.uk +
+ Wed Dec 14 17:58:48 CET 2011 +

+
+ +
On Wednesday 14 Dec 2011 16:38:34 nicolas vigier wrote:
+> > >> 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.
+
+To get that into the CLI prompt do:-
+
+export PS1="[`getent passwd $USER | gawk -F':' '{print $5}'`@\h \W]\$ "
+
+
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-discuss/attachments/20111214/6e3ed1b5/attachment.html>
+
+ + + +
+

+ +
+More information about the Mageia-discuss +mailing list
+ -- cgit v1.2.1