1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries tagged debian edu
</title>
5 <description>Entries tagged debian edu
</description>
10 <title>The sorry state of multimedia browser plugins in Debian
</title>
11 <link>../../The_sorry_state_of_multimedia_browser_plugins_in_Debian.html
</link>
12 <guid isPermaLink=
"true">../../The_sorry_state_of_multimedia_browser_plugins_in_Debian.html
</guid>
13 <pubDate>Tue,
25 Nov
2008 00:
10:
00 +
0100</pubDate>
15 <p
>Recently I have spent some time evaluating the multimedia browser
16 plugins available in Debian Lenny, to see which one we should use by
17 default in Debian Edu. We need an embedded video playing plugin with
18 control buttons to pause or stop the video, and capable of streaming
19 all the multimedia content available on the web. The test results and
20 notes are available on
21 <a href=
"http://wiki.debian.org/DebianEdu/BrowserMultimedia
">the
22 Debian wiki
</a
>. I was surprised how few of the plugins are able to
23 fill this need. My personal video player favorite, VLC, has a really
24 bad plugin which fail on a lot of the test pages. A lot of the MIME
25 types I would expect to work with any free software player (like
26 video/ogg), just do not work. And simple formats like the
27 audio/x-mplegurl format (m3u playlists), just isn
't supported by the
28 totem and vlc plugins. I hope the situation will improve soon. No
29 wonder sites use the proprietary Adobe flash to play video.
</p
>
31 <p
>For Lenny, we seem to end up with the mplayer plugin. It seem to
32 be the only one fitting our needs. :/
</p
>
37 <title>Devcamp brought us closer to the Lenny based Debian Edu release
</title>
38 <link>../../Devcamp_brought_us_closer_to_the_Lenny_based_Debian_Edu_release.html
</link>
39 <guid isPermaLink=
"true">../../Devcamp_brought_us_closer_to_the_Lenny_based_Debian_Edu_release.html
</guid>
40 <pubDate>Sun,
7 Dec
2008 12:
00:
00 +
0100</pubDate>
42 <p
>This weekend we had a small developer gathering for Debian Edu in
43 Oslo. Most of Saturday was used for the general assemly for the
44 member organization, but the rest of the weekend I used to tune the
45 LTSP installation. LTSP now work out of the box on the
10-network.
46 Acer Aspire One proved to be a very nice thin client, with both
47 screen, mouse and keybard in a small box. Was working on getting the
48 diskless workstation setup configured out of the box, but did not
49 finish it before the weekend was up.
</p
>
51 <p
>Did not find time to look at the
4 VGA cards in one box we got from
52 the Brazilian group, so that will have to wait for the next
53 development gathering. Would love to have the Debian Edu installer
54 automatically detect and configure a multiseat setup when it find one
55 of these cards.
</p
>
60 <title>Endelig norsk stavekontroll med støtte for ord med bindestrek
</title>
61 <link>../../Endelig_norsk_stavekontroll_med_st__tte_for_ord_med_bindestrek.html
</link>
62 <guid isPermaLink=
"true">../../Endelig_norsk_stavekontroll_med_st__tte_for_ord_med_bindestrek.html
</guid>
63 <pubDate>Fri,
26 Dec
2008 11:
00:
00 +
0100</pubDate>
65 <p
>Etter flere års mislykkede forsøk på å skrive om byggesystemet for
66 <a href=
"http://no.speling.org/
">den norske stavekontrollen for bokmål
67 og nynorsk
</a
> til å ikke bruke bindestrek som ordskillemarkør, lyktes jeg
68 endelig første juledag. Bruken av bindestrek som ordskillemarkør har
69 gjort det umulig å få med ord med bindestrek i
70 stavekontrolldatagrunnlaget, slik at ord som e-post og CD-spiller ikke
71 kunne godtas av stavekontrollen. Hadde litt tid til overs å bruke på
72 stavekontrollen, og satte meg ned med to kopier av byggsystemet og en
73 liten testdatafil, og byttet ut - med = på utvalgte steder i
74 byggsystemet og datafilen helt til jeg fikk samme resultat med det
75 gamle og det nye byggsystemet. Dette tror jeg var forsøk
4, der de
76 foregående har feilet uten at jeg klarte å forstå hvorfor. Det sier
77 kanskje litt om kompleksiteten i det originale byggsystemet som Rune
78 Kleveland laget i sin tid.
</p
>
80 <p
>Etter å ha endret byggsystemet, var neste steg å importere ordene
81 med bindestrek. Vi har en rekke slike i databasene for
82 <a href=
"http://tyge.sslug.dk/~korsvoll/nb.speling.org/htdocs/
">bokmål
</a
>
84 <a href=
"http://tyge.sslug.dk/~korsvoll/nn.speling.org/htdocs/
">nynorsk
</a
>
85 for korrektur av datagrunnlaget for stavekontrollen, og etter importen
86 skulle nå
10350 nye ord bli godkjent som korrekt stavede ord av
87 stavekontrollen.
</p
>
92 <title>Endelig er Debian Lenny gitt ut
</title>
93 <link>../../Endelig_er_Debian_Lenny_gitt_ut.html
</link>
94 <guid isPermaLink=
"true">../../Endelig_er_Debian_Lenny_gitt_ut.html
</guid>
95 <pubDate>Sun,
15 Feb
2009 11:
50:
00 +
0100</pubDate>
97 <p
>Endelig er
<a href=
"http://www.debian.org/
">Debian
</a
>
98 <a href=
"http://www.debian.org/News/
2009/
20090214">Lenny
</a
> gitt ut.
99 Et langt steg videre for Debian-prosjektet, og en rekke nye
100 programpakker blir nå tilgjengelig for de av oss som bruker den
101 stabile utgaven av Debian. Neste steg er nå å få
102 <a href=
"http://www.skolelinux.org/
">Skolelinux
</a
> /
103 <a href=
"http://wiki.debian.org/DebianEdu/
">Debian Edu
</a
> ferdig
104 oppdatert for den nye utgaven, slik at en oppdatert versjon kan
105 slippes løs på skolene. Takk til alle debian-utviklerne som har
106 gjort dette mulig. Endelig er f.eks. fungerende avhengighetsstyrt
107 bootsekvens tilgjengelig i stabil utgave, vha pakken
108 <tt
>insserv
</tt
>.
</p
>
113 <title>Time for new LDAP schemas replacing RFC
2307?
</title>
114 <link>../../Time_for_new__LDAP_schemas_replacing_RFC_2307_.html
</link>
115 <guid isPermaLink=
"true">../../Time_for_new__LDAP_schemas_replacing_RFC_2307_.html
</guid>
116 <pubDate>Sun,
29 Mar
2009 20:
30:
00 +
0200</pubDate>
118 <p
>The state of standardized LDAP schemas on Linux is far from
119 optimal. There is RFC
2307 documenting one way to store NIS maps in
120 LDAP, and a modified version of this normally called RFC
2307bis, with
121 some modifications to be compatible with Active Directory. The RFC
122 specification handle the content of a lot of system databases, but do
123 not handle DNS zones and DHCP configuration.
</p
>
125 <p
>In
<a href=
"http://www.skolelinux.org/
">Debian Edu/Skolelinux
</a
>,
126 we would like to store information about users, SMB clients/hosts,
127 filegroups, netgroups (users and hosts), DHCP and DNS configuration,
128 and LTSP configuration in LDAP. These objects have a lot in common,
129 but with the current LDAP schemas it is not possible to have one
130 object per entity. For example, one need to have at least three LDAP
131 objects for a given computer, one with the SMB related stuff, one with
132 DNS information and another with DHCP information. The schemas
133 provided for DNS and DHCP are impossible to combine into one LDAP
134 object. In addition, it is impossible to implement quick queries for
135 netgroup membership, because of the way NIS triples are implemented.
136 It just do not scale. I believe it is time for a few RFC
137 specifications to cleam up this mess.
</p
>
139 <p
>I would like to have one LDAP object representing each computer in
140 the network, and this object can then keep the SMB (ie host key), DHCP
141 (mac address/name) and DNS (name/IP address) settings in one place.
142 It need to be efficently stored to make sure it scale well.
</p
>
144 <p
>I would also like to have a quick way to map from a user or
145 computer and to the net group this user or computer is a member.
</p
>
147 <p
>Active Directory have done a better job than unix heads like myself
148 in this regard, and the unix side need to catch up. Time to start a
149 new IETF work group?
</p
>
154 <title>Returning from Skolelinux developer gathering
</title>
155 <link>../../Returning_from_Skolelinux_developer_gathering.html
</link>
156 <guid isPermaLink=
"true">../../Returning_from_Skolelinux_developer_gathering.html
</guid>
157 <pubDate>Sun,
29 Mar
2009 21:
00:
00 +
0200</pubDate>
159 <p
>I
'm sitting on the train going home from this weekends Debian
160 Edu/Skolelinux development gathering. I got a bit done tuning the
161 desktop, and looked into the dynamic service location protocol
162 implementation avahi. It look like it could be useful for us. Almost
163 30 people participated, and I believe it was a great environment to
164 get to know the Skolelinux system. Walter Bender, involved in the
165 development of the Sugar educational platform, presented his stuff and
166 also helped me improve my OLPC installation. He also showed me that
167 his Turtle Art application can be used in standalone mode, and we
168 agreed that I would help getting it packaged for Debian. As a
169 standalone application it would be great for Debian Edu. We also
170 tried to get the video conferencing working with two OLPCs, but that
171 proved to be too hard for us. The application seem to need more work
172 before it is ready for me. I look forward to getting home and relax
178 <title>BSAs påstander om piratkopiering møter motstand
</title>
179 <link>../../BSAs_p__stander_om_piratkopiering_m__ter_motstand.html
</link>
180 <guid isPermaLink=
"true">../../BSAs_p__stander_om_piratkopiering_m__ter_motstand.html
</guid>
181 <pubDate>Sun,
17 May
2009 23:
05:
00 +
0200</pubDate>
183 <p
>Hvert år de siste årene har BSA, lobbyfronten til de store
184 programvareselskapene som Microsoft og Apple, publisert en rapport der
185 de gjetter på hvor mye piratkopiering påfører i tapte inntekter i
186 ulike land rundt om i verden. Resultatene er tendensiøse. For noen
188 <a href=
"http://global.bsa.org/globalpiracy2008/studies/globalpiracy2008.pdf
">siste
189 rapport
</a
>, og det er flere kritiske kommentarer publisert de siste
190 dagene. Et spesielt interessant kommentar fra Sverige,
191 <a href=
"http://www.idg.se/
2.1085/
1.229795/bsa-hoftade-sverigesiffror
">BSA
192 höftade Sverigesiffror
</a
>, oppsummeres slik:
</p
>
195 I sin senaste rapport slår BSA fast att
25 procent av all mjukvara i
196 Sverige är piratkopierad. Det utan att ha pratat med ett enda svenskt
197 företag.
"Man bör nog kanske inte se de här siffrorna som helt
198 exakta
", säger BSAs Sverigechef John Hugosson.
201 <p
>Mon tro om de er like metodiske når de gjetter på andelen piratkopiering i Norge? To andre kommentarer er
<a
202 href=
"http://www.vnunet.com/vnunet/comment/
2242134/bsa-piracy-figures-shot-reality
">BSA
203 piracy figures need a shot of reality
</a
> og
<a
204 href=
"http://www.michaelgeist.ca/content/view/
3958/
125/
">Does The WIPO
205 Copyright Treaty Work?
</a
></p
>
207 <p
>Fant lenkene via
<a
208 href=
"http://tech.slashdot.org/article.pl?sid=
09/
05/
17/
1632242">oppslag
209 på Slashdot
</a
>.
</p
>
214 <title>Endelig operativt webbasert medlemsregister for Fri programvare i skolen
</title>
215 <link>../../Endelig_operativt_webbasert_medlemsregister_for_Fri_programvare_i_skolen.html
</link>
216 <guid isPermaLink=
"true">../../Endelig_operativt_webbasert_medlemsregister_for_Fri_programvare_i_skolen.html
</guid>
217 <pubDate>Mon,
2 Nov
2009 22:
40:
00 +
0100</pubDate>
219 <p
>Under helgens utviklersamling i
220 <a href=
"http://www.skolelinux.no/
">Skolelinux
</a
> fikk jeg endelig
221 satt meg ned sammen med Ronny Aasen i styret for å få et webbasert
222 medlemsregister tilbake på plass for foreningen som passer på
223 skolelinuxprosjektet. Etter flere års knot og problemer, er nå
224 memberdb satt opp og klart til bruk. Import av det gamle
225 medlemsregisteret har vist seg vanskelig, så alle medlemmer bes om å
226 registrere seg på nytt. Hvis du støtter FRiSKs formål så er du
227 hjertelig velkommen til
228 <a href=
"http://medlem.friprogramvareiskolen.no/
">å melde deg
229 inn
</a
>. Formålet lyder:
</p
>
231 <blockquote
>Linux i skolen skal tilrettelegge for og informere om bruk
232 av fri programvare, i henhold til Debian Free Software Guidelines av
233 2002-
02-
03, i den norske skolen, slik som f.eks. Linux og
234 GNU.
</blockquote
>
239 <title>Opphavet til Skolelinux-prosjektet
</title>
240 <link>../../Opphavet_til_Skolelinux_prosjektet.html
</link>
241 <guid isPermaLink=
"true">../../Opphavet_til_Skolelinux_prosjektet.html
</guid>
242 <pubDate>Thu,
17 Dec
2009 10:
50:
00 +
0100</pubDate>
244 <p
>De færreste er klar over at Skolelinux-prosjektet kom som et resultat
245 av en avgjørelse på årsmøtet i
246 <a href=
"http://www.nuug.no/
">NUUG
</a
> i
2000-
06-
29, der Håkon Wium
247 Lie, da varamedlem i styret, tok på seg oppdraget om å starte et
248 initiativ kalt
"Teach the Teacher
", som skulle være et initiativ for
249 å få fri programvare og unix-lignende operativsystemer inn i Skolen.
250 Tanken var at en måtte starte med lærerne for at ungene skulle få
251 mulighet til å møte en bedre IT-hverdag. Jeg var tilstede på
252 møtet, og hadde sans for ideen, men intet skjedde. På vårparten
253 2001 ble det arrangert en demonstrasjon i anledning at First Tuesday
254 hadde invitert Microsoft til et møte for å fortelle om fremtidens
255 Internet. Dette provoserte endel av oss, og EFN og NUUG tok initiativ
257 <a href=
"http://www.digi.no/
60982/first-tuesday-mote-med-microsoft-protest
">en
258 demonstrasjon utenfor lokalene
2001-
05-
21</a
>. Blant de som sto bak
259 demonstrasjonen var Vidar Bakke fra NUUG og Håkon W. Lie fra EFN.
260 Etter demonstrasjonen arrangerte Håkon en fest hjemme hos seg der alle
261 som hadde vært aktive i demonstrasjonsplanlegging og gjennomføringen
262 deltok. Før festen var jeg blitt lei av å vente på at Håkon skulle ta
263 initiativ til
"Teach the Teacher
", og for å forsøke å få litt fremgang
264 besteme jeg meg for å benytte anledningen hos Håkon til å snakke om
265 behovet for å hjelpe skolene i gang med bedre datasystemer bestående
266 av fri programvare og unix-lignende operativsystemer. Flere var
267 interessert, og Knut Yrvin tenkte på ideen. Han
268 <a href=
"http://developer.skolelinux.no/brev/
2001-
06-
28-invitasjon-skolelinux.txt
">ropte
269 sammen
</a
> til et stiftelsesmøte i prosjektet i sin arbeidsgivers
270 Objectwares lokaler ved Ullevål stadion
2001-
07-
02, og jeg ble med.
271 Resten er historie. :)
</p
>
276 <title>Automatic Munin and Nagios configuration
</title>
277 <link>../../Automatic_Munin_and_Nagios_configuration.html
</link>
278 <guid isPermaLink=
"true">../../Automatic_Munin_and_Nagios_configuration.html
</guid>
279 <pubDate>Wed,
27 Jan
2010 15:
15:
00 +
0100</pubDate>
281 <p
>One of the new features in the next Debian/Lenny based release of
282 Debian Edu/Skolelinux, which is scheduled for release in the next few
283 days, is automatic configuration of the service monitoring system
284 Nagios. The previous release had automatic configuration of trend
285 analysis using Munin, and this Lenny based release take that a step
288 <p
>When installing a Debian Edu Main-server, it is automatically
289 configured as a Munin and Nagios server. In addition, it is
290 configured to be a server for the
291 <a href=
"http://wiki.debian.org/DebianEdu/HowTo/SiteSummary
">SiteSummary
292 system
</a
> I have written for use in Debian Edu. The SiteSummary
293 system is inspired by a system used by the University of Oslo where I
294 work. In short, the system provide a centralised collector of
295 information about the computers on the network, and a client on each
296 computer submitting information to this collector. This allow for
297 automatic information on which packages are installed on each machine,
298 which kernel the machines are using, what kind of configuration the
299 packages got etc. This also allow us to automatically generate Munin
300 and Nagios configuration.
</p
>
302 <p
>All computers reporting to the sitesummary collector with the
303 munin-node package installed is automatically enabled as a Munin
304 client and graphs from the statistics collected from that machine show
305 up automatically on http://www/munin/ on the Main-server.
</p
>
307 <p
>All non-laptop computers reporting to the sitesummary collector are
308 automatically monitored for network presence (ping and any network
309 services detected). In addition, all computers (also laptops) with
310 the nagios-nrpe-server package installed and configured the way
311 sitesummary would configure it, are monitored for full disks, software
312 raid status, swap free and other checks that need to run locally on
313 the machine.
</p
>
315 <p
>The result is that the administrator on a school using Debian Edu
316 based on Lenny will be able to check the health of his installation
317 with one look at the Nagios settings, without having to spend any time
318 keeping the Nagios configuration up-to-date.
</p
>
320 <p
>The only configuration one need to do to get Nagios up and running
321 is to set the password used to get access via HTTP. The system
322 administrator need to run
"<tt
>htpasswd /etc/nagios3/htpasswd.users
323 nagiosadmin
</tt
>" to create a nagiosadmin user and set a password for
324 it to be able to log into the Nagios web pages. After that,
325 everything is taken care of.
</p
>
330 <title>Debian Edu / Skolelinux based on Lenny released, work continues
</title>
331 <link>../../Debian_Edu___Skolelinux_based_on_Lenny_released__work_continues.html
</link>
332 <guid isPermaLink=
"true">../../Debian_Edu___Skolelinux_based_on_Lenny_released__work_continues.html
</guid>
333 <pubDate>Thu,
11 Feb
2010 17:
15:
00 +
0100</pubDate>
335 <p
>On Tuesday, the Debian/Lenny based version of
336 <a href=
"http://www.skolelinux.org/
">Skolelinux
</a
> was finally
337 shipped. This was a major leap forward for the project, and I am very
338 pleased that we finally got the release wrapped up. Work on the first
339 point release starts imediately, as we plan to get that one out a
340 month after the major release, to include all fixes for bugs we found
341 and fixed too late in the release process to include last Tuesday.
</p
>
343 <p
>Perhaps it even is time for some partying?
</p
>
345 <p
>After this first point release, my plan is to focus again on the
346 next major release, based on Squeeze. We will try to get as many of
347 the fixes we need into the official Debian packages before the freeze,
348 and have just a few weeks or months to make it happen.
</p
>
353 <title>After
6 years of waiting, the Xreset.d feature is implemented
</title>
354 <link>../../After_6_years_of_waiting__the_Xreset_d_feature_is_implemented.html
</link>
355 <guid isPermaLink=
"true">../../After_6_years_of_waiting__the_Xreset_d_feature_is_implemented.html
</guid>
356 <pubDate>Sat,
6 Mar
2010 18:
15:
00 +
0100</pubDate>
358 <p
>6 years ago, as part of the Debian Edu development I am involved
359 in, I asked for a hook in the kdm and gdm setup to run scripts as root
360 when the user log out. A bug was submitted against the xfree86-common
361 package in
2004 (
<a href=
"http://bugs.debian.org/
230422">#
230422</a
>),
362 and revisited every time Debian Edu was working on a new release.
363 Today, this finally paid off.
</p
>
365 <p
>The framework for this feature was today commited to the git
366 repositry for the xorg package, and the git repository for xdm has
367 been updated to use this framework. Next on my agenda is to make sure
368 kdm and gdm also add code to use this framework.
</p
>
370 <p
>In Debian Edu, we want to ability to run commands as root when the
371 user log out, to get rid of runaway processes and do general cleanup
372 after a user. With this framework in place, we finally can do that in
373 a generic way that work with all display managers using this
374 framework. My goal is to get all display managers in Debian use it,
375 similar to how they use the Xsession.d framework today.
<p
>
380 <title>Kerberos for Debian Edu/Squeeze?
</title>
381 <link>../../Kerberos_for_Debian_Edu_Squeeze_.html
</link>
382 <guid isPermaLink=
"true">../../Kerberos_for_Debian_Edu_Squeeze_.html
</guid>
383 <pubDate>Wed,
14 Apr
2010 17:
20:
00 +
0200</pubDate>
385 <p
><a href=
"http://www.nuug.no/aktiviteter/
20100413-kerberos/
">Yesterdays
386 NUUG presentation
</a
> about Kerberos was inspiring, and reminded me
387 about the need to start using Kerberos in Skolelinux. Setting up a
388 Kerberos server seem to be straight forward, and if we get this in
389 place a long time before the Squeeze version of Debian freezes, we
390 have a chance to migrate Skolelinux away from NFSv3 for the home
391 directories, and over to an architecture where the infrastructure do
392 not have to trust IP addresses and machines, and instead can trust
393 users and cryptographic keys instead.
</p
>
395 <p
>A challenge will be integration and administration. Is there a
396 Kerberos implementation for Debian where one can control the
397 administration access in Kerberos using LDAP groups? With it, the
398 school administration will have to maintain access control using flat
399 files on the main server, which give a huge potential for errors.
</p
>
401 <p
>A related question I would like to know is how well Kerberos and
402 pam-ccreds (offline password check) work together. Anyone know?
</p
>
404 <p
>Next step will be to use Kerberos for access control in Lwat and
405 Nagios. I have no idea how much work that will be to implement. We
406 would also need to document how to integrate with Windows AD, as such
407 shared network will require two Kerberos realms that need to cooperate
408 to work properly.
</p
>
410 <p
>I believe a good start would be to start using Kerberos on the
411 skolelinux.no machines, and this way get ourselves experience with
412 configuration and integration. A natural starting point would be
413 setting up ldap.skolelinux.no as the Kerberos server, and migrate the
414 rest of the machines from PAM via LDAP to PAM via Kerberos one at the
417 <p
>If you would like to contribute to get this working in Skolelinux,
418 I recommend you to see the video recording from yesterdays NUUG
419 presentation, and start using Kerberos at home. The video show show
420 up in a few days.
</p
>
425 <title>Thoughts on roaming laptop setup for Debian Edu
</title>
426 <link>../../Thoughts_on_roaming_laptop_setup_for_Debian_Edu.html
</link>
427 <guid isPermaLink=
"true">../../Thoughts_on_roaming_laptop_setup_for_Debian_Edu.html
</guid>
428 <pubDate>Wed,
28 Apr
2010 20:
40:
00 +
0200</pubDate>
430 <p
>For some years now, I have wondered how we should handle laptops in
431 Debian Edu. The Debian Edu infrastructure is mostly designed to
432 handle stationary computers, and less suited for computers that come
435 <p
>Now I finally believe I have an sensible idea on how to adjust
436 Debian Edu for laptops, by introducing a new profile for them, for
437 example called Roaming Workstations. Here are my thought on this.
438 The setup would consist of the following:
</p
>
442 <li
>During installation, the user name of the owner / primary user of
443 the laptop is requested and a local home directory is set up for
444 the user, with uid and gid information fetched from the LDAP
445 server. This allow the user to work also when offline. The
446 central home directory can be available in a subdirectory on
447 request, for example mounted via CIFS. It could be mounted
448 automatically when a user log in while on the Debian Edu network,
449 and unmounted when the machine is taken away (network down,
450 hibernate, etc), it can be set up to do automatic mounting on
451 request (using autofs), or perhaps some GUI button on the desktop
452 can be used to access it when needed. Perhaps it is enough to use
453 the fish protocol in KDE?
</li
>
455 <li
>Password checking is set up to use LDAP or Kerberos
456 authentication when the machine is on the Debian Edu network, and
457 to cache the password for offline checking when the machine unable
458 to reach the LDAP or Kerberos server. This can be done using
459 <a href=
"http://www.padl.com/OSS/pam_ccreds.html
">libpam-ccreds
</a
>
460 or the Fedora developed
461 <a href=
"https://fedoraproject.org/wiki/Features/SSSD
">System
462 Security Services Daemon
</a
> packages.
</li
>
464 <li
>File synchronisation with the central home directory is set up
465 using a shared directory in both the local and the central home
466 directory, using unison.
</li
>
468 <li
>Printing should be set up to print to all printers broadcasting
469 their existence on the local network, and should then work out of
470 the box with CUPS. For sites needing accurate printer quotas, some
471 system with Kerberos authentication or printing via ssh could be
472 implemented.
</li
>
474 <li
>For users that should have local root access to their laptop,
475 sudo should be used to allow this to the local user.
</li
>
477 <li
>It would be nice if user and group information from LDAP is
478 cached on the client, but given that there are entries for the
479 local user and primary group in /etc/, it should not be needed.
</li
>
483 <p
>I believe all the pieces to implement this are in Debian/testing at
484 the moment. If we work quickly, we should be able to get this ready
485 in time for the Squeeze release to freeze. Some of the pieces need
486 tweaking, like libpam-ccreds should get support for pam-auth-update
487 (
<a href=
"http://bugs.debian.org/
566718">#
566718</a
>) and nslcd (or
488 perhaps debian-edu-config) should get some integration code to stop
489 its daemon when the LDAP server is unavailable to avoid long timeouts
490 when disconnected from the net. If we get Kerberos enabled, we need
491 to make sure we avoid long timeouts there too.
</p
>
493 <p
>If you want to help out with implementing this for Debian Edu,
494 please contact us on debian-edu@lists.debian.org.
</p
>
499 <title>Forcing new users to change their password on first login
</title>
500 <link>../../Forcing_new_users_to_change_their_password_on_first_login.html
</link>
501 <guid isPermaLink=
"true">../../Forcing_new_users_to_change_their_password_on_first_login.html
</guid>
502 <pubDate>Sun,
2 May
2010 13:
47:
00 +
0200</pubDate>
504 <p
>One interesting feature in Active Directory, is the ability to
505 create a new user with an expired password, and thus force the user to
506 change the password on the first login attempt.
</p
>
508 <p
>I
'm not quite sure how to do that with the LDAP setup in Debian
509 Edu, but did some initial testing with a local account. The account
510 and password aging information is available in /etc/shadow, but
511 unfortunately, it is not possible to specify an expiration time for
512 passwords, only a maximum age for passwords.
</p
>
514 <p
>A freshly created account (using adduser test) will have these
515 settings in /etc/shadow:
</p
>
517 <blockquote
><pre
>
518 root@tjener:~# chage -l test
519 Last password change : May
02,
2010
520 Password expires : never
521 Password inactive : never
522 Account expires : never
523 Minimum number of days between password change :
0
524 Maximum number of days between password change :
99999
525 Number of days of warning before password expires :
7
527 </pre
></blockquote
>
529 <p
>The only way I could come up with to create a user with an expired
530 account, is to change the date of the last password change to the
531 lowest value possible (January
1th
1970), and the maximum password age
532 to the difference in days between that date and today. To make it
533 simple, I went for
30 years (
30 *
365 =
10950) and January
2th (to
534 avoid testing if
0 is a valid value).
</p
>
536 <p
>After using these commands to set it up, it seem to work as
539 <blockquote
><pre
>
540 root@tjener:~# chage -d
1 test; chage -M
10950 test
541 root@tjener:~# chage -l test
542 Last password change : Jan
02,
1970
543 Password expires : never
544 Password inactive : never
545 Account expires : never
546 Minimum number of days between password change :
0
547 Maximum number of days between password change :
10950
548 Number of days of warning before password expires :
7
550 </pre
></blockquote
>
552 <p
>So far I have tested this with ssh and console, and kdm (in
553 Squeeze) login, and all ask for a new password before login in the
554 user (with ssh, I was thrown out and had to log in again).
</p
>
556 <p
>Perhaps we should set up something similar for Debian Edu, to make
557 sure only the user itself have the account password?
</p
>
559 <p
>If you want to comment on or help out with implementing this for
560 Debian Edu, please contact us on debian-edu@lists.debian.org.
</p
>