[K12OSN] Re: K12OSN Digest, Vol 47, Issue 30

Stephen Haworth haworths at alamoschool.org
Tue Jan 29 13:58:12 UTC 2008


unsubscribe
----- Original Message ----- 
From: <k12osn-request at redhat.com>
To: <k12osn at redhat.com>
Sent: Monday, January 28, 2008 11:00 AM
Subject: K12OSN Digest, Vol 47, Issue 30


> Send K12OSN mailing list submissions to
> k12osn at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.redhat.com/mailman/listinfo/k12osn
> or, via email, send a message with subject or body 'help' to
> k12osn-request at redhat.com
>
> You can reach the person managing the list at
> k12osn-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of K12OSN digest..."
>
>
> Today's Topics:
>
>   1. Pulse Audio Sound Volume Applet with k12ltsp 6.0 -- any tips?
>      (Tom Wolfe)
>   2. Anyone quantified savings using LTSP? (Bill Moseley)
>   3. Re: Morley's Great K12LTSP labs - update (Alan Hodson)
>   4. Re: Morley's Great K12LTSP labs - update (Terrell Prud? Jr.)
>   5. Re: Morley's Great K12LTSP labs - update (Tom Wolfe)
>   6. Re: Morley's Great K12LTSP labs - update (Terrell Prud? Jr.)
>   7. Re: Morley's Great K12LTSP labs - update (Nils Breunese)
>   8. Re: Morley's Great K12LTSP labs - update (Nils Breunese)
>   9. machine attributes get changed after server reset (ml at bortal.de)
>  10. Sabayon (Kemp, Levi)
>  11. Re: Firefox Default Home Page (Timothy Legge)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 27 Jan 2008 12:16:49 -0700
> From: Tom Wolfe <twolfe at sawback.com>
> Subject: [K12OSN] Pulse Audio Sound Volume Applet with k12ltsp 6.0 --
> any tips?
> To: "'Nils Breunese'" <nils at breun.nl>, "'Support list for open source
> software in schools.'" <k12osn at redhat.com>
> Message-ID: <0JVB002GEHK1GP00 at l-daemon>
> Content-Type: text/plain; charset=us-ascii
>
> Nils, I've tried these various options and always run into issues with
> getting SOUND to work in the end. With 6.0 it was ridiculously easy.
>
> If only I could get the Pulse Audio sound volume applet to work in 6.0 
> then
> I'd be really happy. Any tips from anyone??
>
> Tom
>
> -----Original Message-----
> From: Nils Breunese [mailto:nils at breun.nl]
> Sent: January 27, 2008 08:43
> To: Tom Wolfe; Support list for open source software in schools.
> Subject: Re: [K12OSN] Morley's Great K12LTSP labs - update
>
> Tom Wolfe wrote:
>
>> OK that settles the question of whether to go 5.0 EL or not -- if I
>> have to struggle another nanosecond with getting flash to work with
>> 64-bit I don't want anything to do with it. I'd rather run the risk
>> of being hacked and cracked, and that's the truth. Although I side
>> with the philosophical arguments, my teachers demand flash with
>> sound as their #1 priority, way above Office compatibility for
>> example.
>>
>> WRT disadvantages of Edubuntu -- the disadvantages for me anyhow
>> were numerous. Getting flash to work with 64-bit operating system
>> proved a futile exercise, and I ran into all kinds of little
>> glitches along the way. I won't go into details. That said it's got
>> great curb appeal, and I hope that their spring 2008 version has
>> more promise because it could be worth another look.
>
> If only Adobe would just be capable of creating a 64-bit version of
> their Flash Player...
>
> Nils Breunese.
>
> P.S.1. We run a K12LTSP 5EL server with 64-bit Firefox and
> nspluginwrapper to be able to use the 32-bit Flash Player. That works
> fine, but I don't know about sound (and whether the whole 64-bit
> versus 32-bit thing has anything to do with it).
> P.S.2. Others just install Firefox 32-bit on their 64-bit OS and that
> apparently works just fine as well. Don't know if that helps with
> sound though.
> P.S.3. Apparently Opera 9.5 will support running the 32-bit Flash
> Player plugin under the 64-bit version of Opera out-of-the-box.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 27 Jan 2008 11:25:19 -0800
> From: Bill Moseley <moseley at hank.org>
> Subject: [K12OSN] Anyone quantified savings using LTSP?
> To: k12osn at redhat.com
> Message-ID: <20080127192518.GA6919 at hank.org>
> Content-Type: text/plain; charset=us-ascii
>
> I've seen a few use-cases where some claims are made on cost savings
> using LTSP.  I'm curious if anyone here has looked at this recently at
> their own schools.
>
> I was looking at thin clients the other day, and although I'm not sure
> the very inexpensive $85 Norhtec clients have enough power, it's
> looking like $150-$200 clients are possible.
>
> Our school is considering one option of using the Mac Mini for the
> student workstations.  So potentially, that's $400+ savings up front
> per seat if using something like a $200 thin client.  Actually, that
> might be an underestimate considering that the thin client hardware
> would probably have a longer duty cycle than stand-alone workstation.
>
> Of course, it's not that hard to come up with donated PCs, so that's a
> bigger savings.
>
> Software purchase, upgrades, and licensing seem like another
> significant per-seat expense.  I assume most schools migrated from
> Windows, but the licensing requirements might be similar to Apple.
> Anyone have any numbers in this area?
>
> Energy savings might be a consideration, too.  Some of the thin
> clients have very low power consumption.  Swapping out 100 PCs with
> 300 watt power supplies to 100 thin clients that consume 10 watts
> might not be a huge difference in cost but not insignificant.
>
> Finally, it's hard not to imagine the management of 100 thin clients
> is significantly less than 100 workstation.  Still, I doubt that often
> results in any savings.  Rather just a change in admin tasks.  Have
> you realized any quantifiable differences in management costs?
>
> Anything else?
>
>
> -- 
> Bill Moseley
> moseley at hank.org
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 27 Jan 2008 14:58:21 -0700
> From: Alan Hodson <ahodson at elp.rr.com>
> Subject: Re: [K12OSN] Morley's Great K12LTSP labs - update
> To: "Support list for open source software in schools."
> <k12osn at redhat.com>
> Message-ID: <479CFE7D.4050109 at elp.rr.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Rob Owens wrote:
>> On Sun, Jan 27, 2008 at 04:43:03PM +0100, Nils Breunese wrote:
>>
>>> Tom Wolfe wrote:
>>>
>>>
>>>> OK that settles the question of whether to go 5.0 EL or not -- if I
>>>> have to struggle another nanosecond with getting flash to work with
>>>> 64-bit I don't want anything to do with it. I'd rather run the risk
>>>> of being hacked and cracked, and that's the truth. Although I side
>>>> with the philosophical arguments, my teachers demand flash with
>>>> sound as their #1 priority, way above Office compatibility for
>>>> example.
>>>>
>>>> WRT disadvantages of Edubuntu -- the disadvantages for me anyhow
>>>> were numerous. Getting flash to work with 64-bit operating system
>>>> proved a futile exercise, and I ran into all kinds of little
>>>> glitches along the way. I won't go into details. That said it's got
>>>> great curb appeal, and I hope that their spring 2008 version has
>>>> more promise because it could be worth another look.
>>>>
>>> If only Adobe would just be capable of creating a 64-bit version of
>>> their Flash Player...
>>>
>>> Nils Breunese.
>>>
>>> P.S.1. We run a K12LTSP 5EL server with 64-bit Firefox and
>>> nspluginwrapper to be able to use the 32-bit Flash Player. That works
>>> fine, but I don't know about sound (and whether the whole 64-bit
>>> versus 32-bit thing has anything to do with it).
>>> P.S.2. Others just install Firefox 32-bit on their 64-bit OS and that
>>> apparently works just fine as well. Don't know if that helps with
>>> sound though.
>>> P.S.3. Apparently Opera 9.5 will support running the 32-bit Flash
>>> Player plugin under the 64-bit version of Opera out-of-the-box.
>>>
>>>
>> Has anybody on the list had success running Firefox for Windows under 
>> wine, and getting Flash to work that way?
>>
>> -Rob
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
>>
> I am running IEs4Linux (from
> http://www.tatanka.com.br/ies4linux/page/Main_Page) in a CentOS 5
> server, but it's 32 bit and it's not through a thin client...
> Sound/Flash works fine - will try it on a CentOS5 64bit this week,
> running via Symbio Thin Clients, and perhaps we have a temp solution...
> cheers
> Alan Hodson
> El Paso ISD, TX
> -=o=-
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 27 Jan 2008 19:39:46 -0500
> From: "Terrell Prud? Jr." <microman at cmosnetworks.com>
> Subject: Re: [K12OSN] Morley's Great K12LTSP labs - update
> To: Tom Wolfe <twolfe at sawback.com>, "Support list for open source
> software in schools." <k12osn at redhat.com>
> Message-ID: <479D2452.8090804 at cmosnetworks.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Tom Wolfe wrote:
>> OK that settles the question of whether to go 5.0 EL or not -- if I
>> have to struggle another nanosecond with getting flash to work with
>> 64-bit I don't want anything to do with it. I'd rather run the risk of
>> being hacked and cracked, and that's the truth. Although I side with
>> the philosophical arguments, my teachers demand flash with sound as
>> their #1 priority, way above Office compatibility for example.
>>
>> WRT disadvantages of Edubuntu -- the disadvantages for me anyhow were
>> numerous. Getting flash to work with 64-bit operating system proved a
>> futile exercise, and I ran into all kinds of little glitches along the
>> way. I won't go into details. That said it's got great curb appeal,
>> and I hope that their spring 2008 version has more promise because it
>> could be worth another look.
>
> How about just running 32-bit?  You can run the HUGEMEM kernel with PAE
> extensions if you need more than 4GB DRAM (assumes Intel CPU's for PAE,
> of course).
>
> --TP
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 27 Jan 2008 21:23:05 -0500 (EST)
> From: Tom Wolfe <twolfe at sawback.com>
> Subject: Re: [K12OSN] Morley's Great K12LTSP labs - update
> To: "Terrell Prud? Jr." <microman at cmosnetworks.com>
> Cc: "Support list for open source software in schools."
> <k12osn at redhat.com>
> Message-ID: <20080127212205.L75462 at dyyme.pair.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Been there and done that. Yes, flash-with-sound worked, PAE worked, but
> there were other issues with Edubuntu that drove me nuts. Thanks for the
> tip though.
>
> Regards,
> Tom Wolfe
>
>
> On Sun, 27 Jan 2008, "Terrell Prudé Jr." wrote:
>
>> Tom Wolfe wrote:
>>> OK that settles the question of whether to go 5.0 EL or not -- if I
>>> have to struggle another nanosecond with getting flash to work with
>>> 64-bit I don't want anything to do with it. I'd rather run the risk of
>>> being hacked and cracked, and that's the truth. Although I side with
>>> the philosophical arguments, my teachers demand flash with sound as
>>> their #1 priority, way above Office compatibility for example.
>>>
>>> WRT disadvantages of Edubuntu -- the disadvantages for me anyhow were
>>> numerous. Getting flash to work with 64-bit operating system proved a
>>> futile exercise, and I ran into all kinds of little glitches along the
>>> way. I won't go into details. That said it's got great curb appeal,
>>> and I hope that their spring 2008 version has more promise because it
>>> could be worth another look.
>>
>> How about just running 32-bit?  You can run the HUGEMEM kernel with PAE
>> extensions if you need more than 4GB DRAM (assumes Intel CPU's for PAE,
>> of course).
>>
>> --TP
>>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 27 Jan 2008 23:19:43 -0500
> From: "Terrell Prud? Jr." <microman at cmosnetworks.com>
> Subject: Re: [K12OSN] Morley's Great K12LTSP labs - update
> To: "Support list for open source software in schools."
> <k12osn at redhat.com>
> Message-ID: <479D57DF.5010506 at cmosnetworks.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Nils Breunese wrote:
>>
>> If only Adobe would just be capable of creating a 64-bit version of
>> their Flash Player...
>>
>
> They *are* capable.  They simply are *choosing* not to.
>
> --TP
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 28 Jan 2008 08:56:22 +0100
> From: Nils Breunese <nils at breun.nl>
> Subject: Re: [K12OSN] Morley's Great K12LTSP labs - update
> To: "Support list for open source software in schools."
> <k12osn at redhat.com>
> Message-ID: <FDCF267D-A625-4F96-8ACF-B1CFABECD936 at breun.nl>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
> Terrell Prudé Jr. wrote:
>
>> Nils Breunese wrote:
>>>
>>
>>> If only Adobe would just be capable of creating a 64-bit version of
>>> their Flash Player...
>>
>> They *are* capable.  They simply are *choosing* not to.
>
> I don't think they're choosing not to, as they said there will be a 64-
> bit version.
>
> Nils Breunese.
>
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 28 Jan 2008 09:29:10 +0100
> From: Nils Breunese <nils at breun.nl>
> Subject: Re: [K12OSN] Morley's Great K12LTSP labs - update
> To: Tom Wolfe <twolfe at sawback.com>, "Support list for open source
> software in schools." <k12osn at redhat.com>
> Message-ID: <71698CA6-689E-4E37-AB81-6D67FE9582B1 at breun.nl>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
> Tom Wolfe wrote:
>
>> Been there and done that. Yes, flash-with-sound worked, PAE worked,
>> but there were other issues with Edubuntu that drove me nuts. Thanks
>> for the tip though.
>
> There's also a 32-bit version of K12LTSP 5EL.
>
> Nils Breunese.
>
>> On Sun, 27 Jan 2008, "Terrell Prudé Jr." wrote:
>>
>>> Tom Wolfe wrote:
>>>> OK that settles the question of whether to go 5.0 EL or not -- if I
>>>> have to struggle another nanosecond with getting flash to work with
>>>> 64-bit I don't want anything to do with it. I'd rather run the
>>>> risk of
>>>> being hacked and cracked, and that's the truth. Although I side with
>>>> the philosophical arguments, my teachers demand flash with sound as
>>>> their #1 priority, way above Office compatibility for example.
>>>>
>>>> WRT disadvantages of Edubuntu -- the disadvantages for me anyhow
>>>> were
>>>> numerous. Getting flash to work with 64-bit operating system
>>>> proved a
>>>> futile exercise, and I ran into all kinds of little glitches along
>>>> the
>>>> way. I won't go into details. That said it's got great curb appeal,
>>>> and I hope that their spring 2008 version has more promise because
>>>> it
>>>> could be worth another look.
>>>
>>> How about just running 32-bit?  You can run the HUGEMEM kernel with
>>> PAE
>>> extensions if you need more than 4GB DRAM (assumes Intel CPU's for
>>> PAE,
>>> of course).
>
>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 28 Jan 2008 10:35:51 +0100
> From: "ml at bortal.de" <ml at bortal.de>
> Subject: [K12OSN] machine attributes get changed after server reset
> To: k12osn at redhat.com
> Message-ID: <479DA1F7.6060507 at bortal.de>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>
> Hello List,
>
> i am using Ubuntu Server 6.06 with the smbldap installer script from
> majen.net/smbldap/
> I use VMWare to run my test systems (Ubuntu server and Windows Domain
> Clients)
>
> After producing a power supply failure (stopping my Ubuntu and windows
> client by the stop button in vmware) and starting them up again i can
> see a delta/change in my ldap database:
>
>
> Before Power failure:
> ----------------------
> uidNumber: 10000
> sambaSID: S-1-5-21-2308582080-1758763575-3976210704-21000
> sambaPwdCanChange: 1201212116
> sambaNTPassword: C880093E1682DA079892FF7FF2AEA911
> sambaPwdLastSet: 1201212116
>
> After Power failure:
> ----------------------
> uidNumber: 10005
> sambaSID: S-1-5-21-2308582080-1758763575-3976210704-21010
> sambaPwdCanChange: 1201260229
> sambaNTPassword: 2446CE7E7D8B196756E40E80B5EC3A13
> sambaPwdLastSet: 1201260229
>
>
>
> I did not manually change those properties and i wonder who or why they
> changed.
>
> The result is that my windows client can not log into the domain
> anymore. I have to remove it fro the domain and add it again.
>
> Has anyone an idea why this is _automatically_ happening?
> Why, who or what can change those machine attributes?
> Do you need more infos?
>
> Thanks, Mario
>
>
>
> ------------------------------
>
> Message: 10
> Date: Mon, 28 Jan 2008 08:59:08 -0600
> From: "Kemp, Levi" <lnkemp at bolivar.k12.mo.us>
> Subject: [K12OSN] Sabayon
> To: "Support list for open source software in schools."
> <k12osn at redhat.com>
> Message-ID:
> <F61B3F3722111146AF452DF29FDCCF5F038D1C13 at xchg03.bolivar.k12.mo.us>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Still having issues with both Sabayon and /etc/skel. When I try to edit a 
> sabayon profile I get this terminal printout.
>
> Traceback (most recent call last):
>  File "/usr/lib/python2.4/site-packages/sabayon/profilesdialog.py", line 
> 342, in __edit_button_clicked
>    session.start ()
>  File "/usr/lib/python2.4/site-packages/sabayon/profilesdialog.py", line 
> 129, in start
>    self.temp_homedir = protosession.setup_shell_and_homedir 
> (self.username)
>  File "/usr/lib/python2.4/site-packages/sabayon/protosession.py", line 60, 
> in setup_shell_and_homedir
>    temp_homedir = usermod.create_temporary_homedir (pw.pw_uid, pw.pw_gid)
>  File "/usr/lib/python2.4/site-packages/sabayon/usermod.py", line 64, in 
> create_temporary_homedir
>    copy_tree (SKEL_HOMEDIR, temp_homedir, uid, gid)
>  File "/usr/lib/python2.4/site-packages/sabayon/usermod.py", line 58, in 
> copy_tree
>    copy_tree (src_path, dst_path, uid, gid)
>  File "/usr/lib/python2.4/site-packages/sabayon/usermod.py", line 58, in 
> copy_tree
>    copy_tree (src_path, dst_path, uid, gid)
>  File "/usr/lib/python2.4/site-packages/sabayon/usermod.py", line 62, in 
> copy_tree
>    os.chown (dst_path, uid, gid)
> OSError: [Errno 2] No such file or directory: 
> '/tmp/sabayon-temp-home-NwwxrC/.wine/dosdevices/c:'
>
> Any ideas on troubleshooting this? Also /etc/skel sticks to a user I 
> create locally, but not to one that has it's home directory created by 
> pam_mkhomedir and is authenticated against AD. Thanks!
>
> Levi Kemp
> Technology Specialist
> Bolivar R-1 Schools
> 417-328-8943
> lnkemp at bolivar.k12.mo.us
>
> "The only secure computer is one that's unplugged, locked in a safe, and 
> buried 20 feet under the ground in a secret location... and I'm not even 
> too sure about that one"
>
> --Dennis Hughes, FBI
>
>
>
> -----Original Message-----
> From: k12osn-bounces at redhat.com on behalf of ml at bortal.de
> Sent: Mon 1/28/2008 3:35 AM
> To: k12osn at redhat.com
> Subject: [K12OSN] machine attributes get changed after server reset
>
> Hello List,
>
> i am using Ubuntu Server 6.06 with the smbldap installer script from
> majen.net/smbldap/
> I use VMWare to run my test systems (Ubuntu server and Windows Domain
> Clients)
>
> After producing a power supply failure (stopping my Ubuntu and windows
> client by the stop button in vmware) and starting them up again i can
> see a delta/change in my ldap database:
>
>
> Before Power failure:
> ----------------------
> uidNumber: 10000
> sambaSID: S-1-5-21-2308582080-1758763575-3976210704-21000
> sambaPwdCanChange: 1201212116
> sambaNTPassword: C880093E1682DA079892FF7FF2AEA911
> sambaPwdLastSet: 1201212116
>
> After Power failure:
> ----------------------
> uidNumber: 10005
> sambaSID: S-1-5-21-2308582080-1758763575-3976210704-21010
> sambaPwdCanChange: 1201260229
> sambaNTPassword: 2446CE7E7D8B196756E40E80B5EC3A13
> sambaPwdLastSet: 1201260229
>
>
>
> I did not manually change those properties and i wonder who or why they
> changed.
>
> The result is that my windows client can not log into the domain
> anymore. I have to remove it fro the domain and add it again.
>
> Has anyone an idea why this is _automatically_ happening?
> Why, who or what can change those machine attributes?
> Do you need more infos?
>
> Thanks, Mario
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/ms-tnef
> Size: 4129 bytes
> Desc: not available
> Url : 
> https://www.redhat.com/archives/k12osn/attachments/20080128/37256e3d/attachment.bin
>
> ------------------------------
>
> Message: 11
> Date: Mon, 28 Jan 2008 11:55:48 -0400
> From: "Timothy Legge" <timlegge at gmail.com>
> Subject: Re: [K12OSN] Firefox Default Home Page
> To: "Support list for open source software in schools."
> <k12osn at redhat.com>
> Message-ID:
> <be95b6c50801280755m303ea7d2paf631d763313573f at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi
>
> The best thing I have found for Firefox is the following script.  It
> works great and can allow you to set even more options easily if you
> need to:
>
>
> --------BEGIN SCRIPT------------
> #!/usr/bin/perl
>
> # lock down browser homepage and proxy settings
> # Andy Rabagliati <andyr at wizzy.com>
> # http://wizzy.org.za/
>
> use encoding 'latin1';
> use strict;
>
> sub usage() {
>   print "Usage: $0 <hostname>\n";
>   exit 1;
> }
>
> usage() if (@ARGV != 1);
>
> my $hostname = $ARGV[0];
>
> # Byteshifting program for mozilla's netscape.cfg files
>
> # Old netscape 4.x uses a bytechift of 7
> #   To decode: moz-byteshift.pl -s -7 <netscape.cfg >netscape.cfg.txt
> #   To encode: moz-byteshift.pl -s  7 <netscape.cfg.txt >netscape.cfg
>
> # Mozilla uses a byteshift of 13
> #   To decode: moz-byteshift.pl -s -13 <netscape.cfg >netscape.cfg.txt
> #   To encode: moz-byteshift.pl -s  13 <netscape.cfg.txt >netscape.cfg
>
> # To activate the netscape.cfg file, place the encoded netscape.cfg file
> # into your C:\Program Files\mozilla.org\Mozilla directory.
> # Then add the following line to your
> # C:\Program Files\mozilla.org\Mozilla\defaults\pref\all.js file :
> # pref("general.config.filename", "mozilla.cfg");
>
> my $buffer;
> my $mozillacfg;
>
> while ($_ = <DATA>) {
>    $_ =~ s/_WIZZY_HOSTNAME_/$hostname/g;
>    $buffer .= $_;
> }
>
> # lazy - but chop is convenient
>
> $buffer = reverse ($buffer);
>
> binmode(STDOUT, ":raw");
>
> while(length($buffer)) {
>  my $byte = ord(chop($buffer));
>  $byte += 512 + 13;
>  $mozillacfg .= pack("c", $byte);
> }
>
> # calling all browsers ..
> my @all = glob("/usr/lib/*/greprefs/all.js");
>
> for my $f (@all) {
>    # read in file, skipping anything that mentions general.config.filename
>    open(FILE, $f) || die "Cannot read $f: $!";
>    undef ($buffer);
>    while ($_ = <FILE>) {
>        if ($_ !~ /general.config.filename/) {
>            $buffer .= $_;
>        }
>    }
>    close (FILE);
>    # add our version of general.config.filename
>    $buffer .= 'pref("general.config.filename","mozilla.cfg");//WIZZY' . 
> "\n";
>    # write it out again
>    open (FILE, "> $f") || die "Cannot write to $f: $!";
>    print FILE $buffer;
>    close (FILE);
>    # get path to mozilla.cfg
>    $f =~ s:greprefs/all.js::;
>    $f .= 'mozilla.cfg';
>    # write it
>    open (FILE, "> $f") || die "Cannot write to $f: $!";
>    print FILE $mozillacfg;
>    close (FILE);
> }
>
> __DATA__
> // Wizzy mozilla defaults lockdown for _WIZZY_HOSTNAME_
>
> //lockPref("browser.cache.disk.capacity", 0);
> //defaultPref("security.warn_entering_secure", false);
> //defaultPref("security.warn_submit_insecure", false);
> defaultPref("browser.startup.homepage","http://www.google.ca");
> //lockPref("network.http.pipelining", true);
> //lockPref("network.http.proxy.pipelining", true);
> //lockPref("network.http.pipelining.maxrequests", 10);
> //lockPref("nglayout.initialpaint.delay", 0);
> //lockPref("browser.cache.enable",false);
> lockPref("browser.tabs.autoHide", false);
> lockPref("network.proxy.type",1);
> lockPref("network.proxy.share_proxy_settings", true);
> lockPref("network.proxy.ftp","_WIZZY_HOSTNAME_");
> lockPref("network.proxy.ftp_port",8080);
> lockPref("network.proxy.http","_WIZZY_HOSTNAME_");
> lockPref("network.proxy.http_port",8080);
> lockPref("network.proxy.ssl","_WIZZY_HOSTNAME_");
> lockPref("network.proxy.ssl_port",8080);
> lockPref("network.proxy.gopher","_WIZZY_HOSTNAME_");
> lockPref("network.proxy.gopher_port",8080);
> lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
>
> --------END SCRIPT------------
>
>
>
> ------------------------------
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
>
> End of K12OSN Digest, Vol 47, Issue 30
> **************************************
> 




More information about the K12OSN mailing list