Re: XQuartz upgrade bug
Re: XQuartz upgrade bug
- Subject: Re: XQuartz upgrade bug
- From: Cameron Simpson <email@hidden>
- Date: Wed, 29 Aug 2012 12:11:14 +1000
On 28Aug2012 13:50, Jeremy Huddleston Sequoia <email@hidden> wrote:
| On 2012-08-28 13:21, Brandon Allbery wrote:
| > On Tue, Aug 28, 2012 at 4:12 PM, Jeremy Huddleston Sequoia
| > <email@hidden [1]> wrote:
| >
| >> Could you please send me your /etc/sshd_config, so I can try to
| >> figure
| >> out a way to deal with that case successfully?
| > Probably put it before a line matching /^s*matchs/i .
|
| Can you please send me the config file? AIUI, it shouldn't *break*
| anything; it should just apply XAuthLocation to the last matched user.
Which would still be wrong, of course.
When I patch things like sshd_config with my patch-config tool I run it
in "prefix" mode: prepend all new settings to the start of the file, and
comment out later instances. (Which could still break things, but far
less often.) This also has the advantage that the changed settings are
right at the top of the file. For many config files the parsing is
pretty easy; for sshd_config you just split on whitespace and consider
the downcased version of the first word on the line. If it matches the
setting you're overriding, prepend a commend character to the start of
the line when copying it out to the updated file.
Cheers,
--
Feeling Stressed Out?
Sometimes it helps to think of happy scenes, maybe a pastoral field, a field
with a babbling brook. You're there on a lovely summer's day . . .
. . . holding someone's head under the water. Now you're letting them up for
a second, then blam! Back into the freezing water! Over and over again!!
There! Feel better?
- Steve Daniels (Official JBT of a.p) <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden