[5673] in Moira

home help back first fref pref prev next nref lref last post

Patch to chsh

daemon@ATHENA.MIT.EDU (Liz A. Denys)
Sat Apr 24 21:34:52 2010

Date: Sat, 24 Apr 2010 21:34:13 -0400 (EDT)
From: "Liz A. Denys" <lizdenys@MIT.EDU>
To: moiradev@mit.edu
Message-ID: <alpine.DEB.2.00.1004242134080.2666@taboo>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1080663952-1272158524=:2666"
Content-ID: <alpine.DEB.2.00.1004242127350.2666@taboo>

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-1080663952-1272158524=:2666
Content-Type: TEXT/PLAIN; FORMAT=flowed; CHARSET=US-ASCII
Content-ID: <alpine.DEB.2.00.1004242127351.2666@taboo>

Hi,

Debathena is running into issues where installing additional shells 
changes /etc/shells in ways that aren't necessarily consistent across 
machines. As /etc/shells is the list of shells on a single machine, 
Athena machines are not all guaranteed to have the shells listed in 
/etc/shells. However, the list of shells the patch creates in 
/etc/shells.moira are guaranteed to be on all Athena machines.

The attached patch changes how chsh.moira picks its list of acceptable 
shells. The patch has creates /etc/shells.moira to be checked before 
/etc/shells because /etc/shells is not a static list.

More information can be found at http://debathena.mit.edu/trac/ticket/556.

-Liz Denys

--
Liz A. Denys
lizdenys@mit.edu
--8323329-1080663952-1272158524=:2666
Content-Type: TEXT/x-diff; name=chsh-dotc.diff
Content-Transfer-Encoding: BASE64
Content-ID: <alpine.DEB.2.00.1004242130250.2666@taboo>
Content-Description: 
Content-Disposition: attachment; filename=chsh-dotc.diff

SW5kZXg6IHNoZWxscy5tb2lyYQ0KPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K
LS0tIHNoZWxscy5tb2lyYQkocmV2aXNpb24gMCkNCisrKyBzaGVsbHMubW9p
cmEJKHJldmlzaW9uIDApDQpAQCAtMCwwICsxLDQgQEANCisjIC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BAQA0KIA0KICAgaWYgKCFzaGVsbHMpDQogICAgIHsNCi0gICAgICBz
aGVsbHMgPSBmb3BlbigiL2V0Yy9zaGVsbHMiLCAiciIpOw0KKyAgICAgIHNo
ZWxscyA9IGZvcGVuKCIvZXRjL3NoZWxscy5tb2lyYSIsICJyIik7DQorICAg
ICAgaWYgKCFzaGVsbHMgJiYgZXJybm8gPT0gRU5PRU5UKQ0KKyAgICAgIHsN
CisgICAgICAgIHNoZWxscyA9IGZvcGVuKCIvZXRjL3NoZWxscyIsICJyIik7
DQorCSB9DQogICAgICAgaWYgKCFzaGVsbHMpDQogICAgICAgew0KICAgICAg
ICAgZnByaW50ZihzdGRlcnIsICIlczogQ2FuJ3Qgb3BlbiAvZXRjL3NoZWxs
cy4gVW5hYmxlIHRvIGRldGVybWluZSBpZiAiDQpr

--8323329-1080663952-1272158524=:2666--

home help back first fref pref prev next nref lref last post