How about using OS::Detect to detect if it's Mandriva, and if so, do what you need to do?
Cheers, Bernard > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Fernando Laudares Camargos > Sent: Tuesday, March 28, 2006 13:09 > To: Oscar-devel List > Subject: [Oscar-devel] OpenSSH and PermitRootLogin (Mandriva) > > Hi all, > > this one is being present from a long time... > > All Mandriva/Mandrake distros explicitly set "PermitRootLogin > no" in /etc/ssh/sshd_config by default. In the svn log from > the the script "ssh_install" we can see that Francis had > changed it so to set "PermitRootLogin yes" (r2221) but soon > after that he had to 'undo' his changes due to RedHat 9 > incompatibility (r2230). > > DongInn just sent me a copy of sshd_config from both FC4 and > RHEL4 and in both cases the line that sets 'PermitRootLogin' > is commented, thus enabling this possibility. > > I have re-incorporated those changes from r2221 in > ssh_install, since now the incompatibility problem is > apparently gone. > > Before to commit those changes I would like to hear from you > if anyone has something to say about it. > > Thanks, > -- > Fernando Laudares Camargos > > Révolution Linux > http://www.revolutionlinux.com > --------------------------------------- > * Tout opinion et prise de position exprimée dans ce message > est celle de son auteur et pas nécessairement celle de > Révolution Linux. > ** Any views and opinion presented in this e-mail are solely > those of the author and do not necessarily represent those of > Révolution Linux. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Oscar-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oscar-devel > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
