root/openPolicies/EXAMPLES @ 2

Revision 2, 1.4 KB (checked in by svngov, 10 years ago)

v1.0

Line 
1# firefox homepage
2firefox_set_homepage http://angulosolido.pt
3
4# firefox SSO list
5firefox_set_sso http://servidor1.exemplo.pt,https://servidor2.exemplo.pt
6firefox_set_sso intranet
7
8# firefox proxy settings
9firefox_set_proxy 0
10firefox_set_proxy 1 192.168.1.2 3128
11firefox_set_proxy 1 192.168.1.2 3128 "testead.intranet, google.com"
12firefox_set_proxy 2 http://192.168.1.2/wpad.dat
13firefox_set_proxy 4
14firefox_set_proxy 5
15
16Ref: http://kb.mozillazine.org/Network.proxy.type
17
18# firefox install CA certificates
19firefox_install_CA http://ecar.parlamento.pt/certificados/ECRaizEstado.crt  ECRaizEstado
20
21# firefox preferences - FLAG is 1 if VALUE is a string
22firefox_set_pref NAME VALUE FLAG
23
24# firefox preference example
25firefox_set_pref browser.startup.homepage_override.mstone ignore 1
26
27# gnome wallpaper
28gnome_set_wallpaper /usr/share/backgrounds/space-05.jpg
29
30# other gnome preferences
31gnome_set_pref PATH VALUE TYPE
32
33# gnome preference example
34gnome_set_pref /apps/nautilus/desktop/volumes_visible false bool
35
36# SMB printer definition - requires passwordless sudo for lpadmin
37PRINTSERVER=W2K3-AD
38NETBIOSNAME=TESTEAD
39SHARENAME=HPWindowsSRV
40OPTIONS="-o media=A4"
41DRIVER="/usr/share/ppd/cups-included/postscript.ppd"
42
43sudo lpadmin -p HPPS_AUTO $OPTIONS -v  "smb://$NETBIOSNAME/$PRINTSERVER/$SHARENAME" -P $DRIVER -E
44
45# access to samba shares
46
47SERVER=lanserver
48SERVERNAME=lanserver
49SHARENAME="Test share"
50mountshare $SERVER "$SHARENAME" $SERVERNAME $USERNAME $PASSWORD
51
Note: See TracBrowser for help on using the browser.