Re: [debian-edu-commits] r80234 - in trunk/src/eduroaming: debian etc etc/ldap etc/sssd
On Tue, May 28, 2013 at 09:03:05PM +0200, Petter Reinholdtsen wrote:
>
> > @@ -32,6 +32,7 @@
> > else
> > cp -f /usr/share/eduroaming/$i /$i
> > echo "cp /usr/share/eduroaming/$i /$i"
> > + chmod 0600 /$i
> > fi
> > done
> >
>
It is correct, it is only to make sure that sssd.conf is 0600. Thee rest
of the files is diverted before. You missed the if statement at the
beggining of the loop.
> I am quite sure this is wrong for at least krb5.conf, and probably some
> of the other files. It would be the correct thing to do for at least
> sssd.conf, but probably none of the others.
>
In fact is not set 0600
> Perhaps this is better to change file permission on the source file, and
> use cp -a to make sure it stick with the cpoy?
>
Sure, there are better ways
> > Modified: trunk/src/eduroaming/etc/krb5.conf
>
> Most of the stuff in this file is unused. I'll try to find time to trim
> it.
>
Well, I just used diff on /etc of debian-edu and of ubuntu plain. Maybe there
are more unused stuff. I have my doughts on nslcd. All the rest I had to
set it to make it working.
Regards
--
Sysadmin SPSE-Tenero
Ufficio: +41 91 735 62 48
Cellulare: +41 79 629 20 63
Reply to: