summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20111214/006101.html
blob: a0f7df67c264e066928dfa73b1ed363a9edfe7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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:
&gt;<i> &gt; &gt;&gt; From what he wrote, I get the impression he prefers to see iZoli,
</I>&gt;<i> &gt; &gt;&gt; rather than izoli, when working the CLI. Why not ?
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; Well, then just change the prompt, so it will display iZoli. Why do we
</I>&gt;<i> &gt; &gt; need to support uppercase letters in user names for that?
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Indeed. The uid is not meant to be the display name, unless by
</I>&gt;<i> &gt; default. Wondered if we had a better option than export FULLNAME=`grep
</I>&gt;<i> &gt; -e &quot;^$USER:&quot; /etc/passwd|gawk -F':' '{print $5}'` in .bash_profile?
</I>&gt;<i> 
</I>&gt;<i> getent passwd $USER | gawk -F':' '{print $5}'
</I>&gt;<i> 
</I>&gt;<i> so that it works if the account is not in /etc/passwd.
</I>
To get that into the CLI prompt do:-

export PS1=&quot;[`getent passwd $USER | gawk -F':' '{print $5}'`@\h \W]\$ &quot;


-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-discuss/attachments/20111214/6e3ed1b5/attachment.html&gt;
</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>