blob: 23cd9a21bffdb5dcf371ed5ee2930e1cd5dc338c (
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] absurd comment in default sshd configuration file
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20absurd%20comment%20in%20default%20sshd%20configuration%20file&In-Reply-To=%3C4FB26966.7060607%40colin.guthr.ie%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="015673.html">
<LINK REL="Next" HREF="015683.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] absurd comment in default sshd configuration file</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20absurd%20comment%20in%20default%20sshd%20configuration%20file&In-Reply-To=%3C4FB26966.7060607%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] absurd comment in default sshd configuration file">mageia at colin.guthr.ie
</A><BR>
<I>Tue May 15 16:34:14 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="015673.html">[Mageia-dev] absurd comment in default sshd configuration file
</A></li>
<LI>Next message: <A HREF="015683.html">[Mageia-dev] absurd comment in default sshd configuration file
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#15678">[ date ]</a>
<a href="thread.html#15678">[ thread ]</a>
<a href="subject.html#15678">[ subject ]</a>
<a href="author.html#15678">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Guillaume Rousse at 15/05/12 15:02 did gyre and gimble:
><i> # WARNING: 'UsePAM no' is not supported in Mageia and may cause several
</I>><i> # problems.
</I>><i> I wonder about the usefulness of such comment...
</I>><i>
</I>><i> What does means 'not supported' ? The software has been patched, and its
</I>><i> behaviour changed in such a way that it will not work as documented ? Or
</I>><i> any bug report on bugzilla will automatically result in a question 'did
</I>><i> you change UsePAM directive in sshd' before even attempting to identify
</I>><i> end user problem ?
</I>><i>
</I>><i> And as changing ANY configuration directive in ANY software may result
</I>><i> in problems, what's the point of a specific warning here ?
</I>><i>
</I>><i> So, what's the added value of this comment over default configuration ?
</I>
I didn't specifically think too hard about putting a comment in the
config file but I stand by it's usefulness.
Patch taken directly from Fedora | sed s/Fedora/Mageia/
The point of it is that if you turn off PAM support you may have issues
with tracking logins via SSH (i.e. pam_systemd will not be processed and
user sessions will be tracked as child processes of the ssh daemon
service itself and not as child processes of a user session. This means
that restarting SSH service will likely kill off any ssh connections,
including the current one if you set "UsePAM no".
As this is an issue that has confused several people, I think extra
exposure is a good thing. If you want to deal with the bugs resulting
from incorrect settings and explain to people again and again, then
fine, we can remove it.
Col
--
Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
Day Job:
Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="015673.html">[Mageia-dev] absurd comment in default sshd configuration file
</A></li>
<LI>Next message: <A HREF="015683.html">[Mageia-dev] absurd comment in default sshd configuration file
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#15678">[ date ]</a>
<a href="thread.html#15678">[ thread ]</a>
<a href="subject.html#15678">[ subject ]</a>
<a href="author.html#15678">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|