diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20111214/006101.html')
-rw-r--r-- | zarb-ml/mageia-discuss/20111214/006101.html | 81 |
1 files changed, 81 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] Feature request: uppercase letters in user names + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%0A%20%3D%3Fiso-8859-1%3Fq%3FFeature_request%3D3A_uppercase_lett%3F%3D%0A%20%3D%3Fiso-8859-1%3Fq%3Fers_in_user%3D09names%3F%3D&In-Reply-To=%3C201112141658.48919.deri%40chuzzlewit.demon.co.uk%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="006100.html"> + <LINK REL="Next" HREF="006099.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Feature request: uppercase letters in user names</H1> + <B>Deri James</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%0A%20%3D%3Fiso-8859-1%3Fq%3FFeature_request%3D3A_uppercase_lett%3F%3D%0A%20%3D%3Fiso-8859-1%3Fq%3Fers_in_user%3D09names%3F%3D&In-Reply-To=%3C201112141658.48919.deri%40chuzzlewit.demon.co.uk%3E" + TITLE="[Mageia-discuss] Feature request: uppercase letters in user names">deri at chuzzlewit.demon.co.uk + </A><BR> + <I>Wed Dec 14 17:58:48 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="006100.html">[Mageia-discuss] Feature request: uppercase letters in user names +</A></li> + <LI>Next message: <A HREF="006099.html">[Mageia-discuss] Feature request: uppercase letters in user names +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6101">[ date ]</a> + <a href="thread.html#6101">[ thread ]</a> + <a href="subject.html#6101">[ subject ]</a> + <a href="author.html#6101">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Wednesday 14 Dec 2011 16:38:34 nicolas vigier wrote: +><i> > >> From what he wrote, I get the impression he prefers to see iZoli, +</I>><i> > >> rather than izoli, when working the CLI. Why not ? +</I>><i> > > +</I>><i> > > Well, then just change the prompt, so it will display iZoli. Why do we +</I>><i> > > need to support uppercase letters in user names for that? +</I>><i> > +</I>><i> > +</I>><i> > +</I>><i> > Indeed. The uid is not meant to be the display name, unless by +</I>><i> > default. Wondered if we had a better option than export FULLNAME=`grep +</I>><i> > -e "^$USER:" /etc/passwd|gawk -F':' '{print $5}'` in .bash_profile? +</I>><i> +</I>><i> getent passwd $USER | gawk -F':' '{print $5}' +</I>><i> +</I>><i> so that it works if the account is not in /etc/passwd. +</I> +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> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="006100.html">[Mageia-discuss] Feature request: uppercase letters in user names +</A></li> + <LI>Next message: <A HREF="006099.html">[Mageia-discuss] Feature request: uppercase letters in user names +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6101">[ date ]</a> + <a href="thread.html#6101">[ thread ]</a> + <a href="subject.html#6101">[ subject ]</a> + <a href="author.html#6101">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |