summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20120412/006985.html
blob: cd10d87fa6187f1437e42f0fec5338beced4a094 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-discuss] beta2 woes and no graphical root (tonyb)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20beta2%20woes%20and%20no%20graphical%20root%20%28tonyb%29&In-Reply-To=%3CCABrUAS%3DLLzGs4UJc8_mYPR%2BLU_JEKZvFQ2MMgp0TcpvqxOtN5A%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="007000.html">
   <LINK REL="Next"  HREF="006986.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] beta2 woes and no graphical root (tonyb)</H1>
    <B>R James</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20beta2%20woes%20and%20no%20graphical%20root%20%28tonyb%29&In-Reply-To=%3CCABrUAS%3DLLzGs4UJc8_mYPR%2BLU_JEKZvFQ2MMgp0TcpvqxOtN5A%40mail.gmail.com%3E"
       TITLE="[Mageia-discuss] beta2 woes and no graphical root (tonyb)">upsnag2 at gmail.com
       </A><BR>
    <I>Thu Apr 12 04:41:50 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="007000.html">[Mageia-discuss] beta2 woes and no graphical root (tonyb)
</A></li>
        <LI>Next message: <A HREF="006986.html">[Mageia-discuss] beta2 woes and no graphical root (tonyb)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6985">[ date ]</a>
              <a href="thread.html#6985">[ thread ]</a>
              <a href="subject.html#6985">[ subject ]</a>
              <a href="author.html#6985">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Wed, Apr 11, 2012 at 3:45 PM, Tony Blackwell &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">tablackwell at bigpond.com</A>&gt; wrote:
&gt;<i> As the OP, I'll comment that although the config was AllowRoot=true, in
</I>&gt;<i> /usr/share/config/kdm/kdmrc, all previous versions of Mandriva/Mageia going
</I>&gt;<i> back a number of years, right up to M2beta1 after online updates, have
</I>&gt;<i> supported setting this flag as allowing graphical root access to gnome as
</I>&gt;<i> well as kde environments. &#160;I hear the impassioned objections of some of our
</I>&gt;<i> leaders, and admit that the weight of expressed opinion in this thread is
</I>&gt;<i> against it, but a number of us have found the ability to do this useful at
</I>&gt;<i> times and I request its restoration.
</I>&gt;<i>
</I>&gt;<i> I'd be happy as ftg commented that it still have the same red screen warning
</I>&gt;<i> etc etc as before - agree it makes sense not to be obvious.
</I>&gt;<i>
</I>
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> ~]# LetMeLoginToXasRoot
bash: LetMeLoginToXasRoot: command not found
:<i>-(
</I>
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> ~]# vi LetMeLoginToXasRoot
{clickity click, clackity clack :wq}

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> ~]# cat LetMeLoginToXasRoot
#/bin/sh
echo
echo &quot;So you want to be naughty?...OK ;o)&quot;
sed -i 's/user != root//' /etc/pam.d/kdm
sed -i 's/AllowRootLogin=false/AllowRootLogin=true/'\
 /var/lib/mageia/kde4-profiles/Default/share/config/kdm/kdmrc
echo
echo &quot;Enter: service dm restart&quot;
echo &quot;Then have a lot of fun!&quot;
echo
exit 0
EOF

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> ~]# chmod 744 LetMeLoginToXasRoot

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> ~]# ./LetMeLoginToXasRoot

So you want to be naughty?...OK ;o)

Enter: service dm restart
Then have a lot of fun!

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> opt]# service dm restart
:<i>o)
</I>
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> opt]# GetMeABeer
bash: GetMeABeer: command not found

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at localhost</A> opt]# sudo GetMeABeer
sudo: GetMeABeer: get your own #!@$ Beer!
;o)

HTH - RJ

&quot;Unix was not designed to stop its users from doing stupid things,
as that would also stop them from doing clever things.&quot; - Doug Gwyn
</PRE>















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="007000.html">[Mageia-discuss] beta2 woes and no graphical root (tonyb)
</A></li>
	<LI>Next message: <A HREF="006986.html">[Mageia-discuss] beta2 woes and no graphical root (tonyb)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#6985">[ date ]</a>
              <a href="thread.html#6985">[ thread ]</a>
              <a href="subject.html#6985">[ subject ]</a>
              <a href="author.html#6985">[ 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>