GNC Examples: Difference between revisions
Appearance
Content deleted Content added
imported>Chris No edit summary |
imported>Chris No edit summary |
||
| Line 3: | Line 3: | ||
== Introduction to GNC == |
== Introduction to GNC == |
||
=== Making a new GNC Script using the gnc template === |
=== Making a new GNC Script using the gnc template === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Introduction to the gncget command === |
=== Introduction to the gncget command === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Introduction to the apt-get install and apt-get remove commands === |
=== Introduction to the apt-get install and apt-get remove commands === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
== Examples == |
== Examples == |
||
| Line 20: | Line 23: | ||
GNC_PARAMETERS=' --runonce --skipinstall --abort ' |
GNC_PARAMETERS=' --runonce --skipinstall --abort ' |
||
############################################################################################################### |
############################################################################################################### |
||
bashconfset.pl PAC_BROWSER_STARTUP_HOMEPAGE "http://www.google.com" /etc//groovix/pac.conf |
bashconfset.pl PAC_BROWSER_STARTUP_HOMEPAGE "http://www.google.com" /etc//groovix/pac.conf |
||
| Line 38: | Line 40: | ||
=== Setting a custom screensaver === |
=== Setting a custom screensaver === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
| Line 66: | Line 70: | ||
=== Enabling the web filter === |
=== Enabling the web filter === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Whitelisting a website === |
=== Whitelisting a website === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Adding sites to the DansGuardian exception list === |
=== Adding sites to the DansGuardian exception list === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
== Advanced Examples == |
|||
=== Configuring a Reservation Station machine === |
=== Configuring a Reservation Station machine === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Catalog only/kiosk machine === |
=== Catalog only/kiosk machine === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Setting a custom user profile === |
=== Setting a custom user profile === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Downloading large files with a random delay === |
=== Downloading large files with a random delay === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Setting up or changing printers === |
=== Setting up or changing printers === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
=== Setting custom shutdown delays and shutdown times === |
=== Setting custom shutdown delays and shutdown times === |
||
< |
<pre class="dashed-box"> |
||
</pre> |
|||
Revision as of 16:13, 24 April 2012
Introduction to GNC
Making a new GNC Script using the gnc template
Introduction to the gncget command
Introduction to the apt-get install and apt-get remove commands
Examples
Setting a custom homepage
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --abort ' ############################################################################################################### bashconfset.pl PAC_BROWSER_STARTUP_HOMEPAGE "http://www.google.com" /etc//groovix/pac.conf
Setting a custom desktop background
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --skiplive --abort ' ############################################################################################################### gncget --mod=644 /var/lib/groovix/pac/images/desktop_background.png
You will also need to place your desktop image file in the following folder structure var\lib\groovix\pac\images\, along with your GNC script located in the root directory.
Setting a custom screensaver
Setting a custom welcome message on the login screen
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --abort ' ############################################################################################################### bashconfset.pl GDM_WELCOME_MESSAGE "Enter your welcome message here" /etc//groovix/pac.conf
Setting the Acceptable Use Policy page
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --abort ' ############################################################################################################### apt-get-dontask install groovix-accept bashconfset.pl GK_ACCEPT_USE true /etc//groovix/pac.conf pyconfset.pl mainurl '[ServerIP]/groovix/accept/acceptable-use.html' /etc//groovix/accept.conf
* where [ServerIP] is the IP address of your local Groovix Server
Enabling the web filter
Whitelisting a website
Adding sites to the DansGuardian exception list
Configuring a Reservation Station machine
Catalog only/kiosk machine