The first thing I did was download and burn Ubuntu 8.04 Hardy Herron to a disk.Â This was eventually done on a “gasp” Windows machine, since the gOS burning software was somehow not able to burn a readable .iso.Â So…
- I installed Ubuntu
- I installed the Firefox Flash Plugin
- Installed mplayer, mplayer plugin, xine and codecs (see Medibuntu)
- Created a user “guest”
- Downloaded sabayon and created a profile “guest” then configured account and assigned the profile to user “guest”Â See this article for more.
- Changed Default file formats in Open Office.
- Edited Menus, removed some items from the Panel, added Desktop Launchers for Firefox, Open Office Word Processor, Open Office Spreadsheet and Xine Movie Player.
- Once everything was set up the way I wanted in “guest”, I logged out of guest, and back in a different account.
- Set up a printer. I went to System>Administration>Printing.Â Clicked add printer.Â It automatically found our HP 4050tn and I followed the instructions to add it.
- Using this as a guide I did the following:
- I then went to System>Administration>Login Window.Â On the security tab I checked Enable Timed Login, set the user to guest and set the time to 10 seconds.Â This means that when the machine is turned on it will allow you ten seconds to login as someone other then guest, otherwise guest will be logged in automatically without entering a password.
- I put it out for patrons to use.Â So far one patron has been on for about an hour and she has had no problems.Â She says it is working fine.Â It will be very interesting to see how this works as we go forward.
I bacame root
Created backup and restore scripts for guest account
cd /root touch backup restore chmod 700 backup restore
Opened Backup in editor
cd /root sudo gedit backup
Pasted the following into backup
#!/bin/bash IMAGES=/root/images USER=guest mkdir -p $IMAGES rm -f "$IMAGES/$USER.tar" tar -cpPf "$IMAGES/$USER.tar" "/home/$USER"
cd /root sudo gedit restore
Pasted the following into restore:
#!/bin/bash IMAGES=/root/images USER=guest mkdir -p $IMAGES rm -fR "/home/$USER" tar -xpPf "$IMAGES/$USER.tar"
Setup the restore script to execute on system startup. This allows a system reboot to reset any changes made to guest’s desktop.
cd /etc/init.d ln -s /root/restore restore update-rc.d restore start 99 2 .
It is also a good idea to put in a cron job to do automatic updates. As root I did this:
Add this line:
* */4 * * * (PATH=/usr/sbin:/usr/bin:/sbin:/bin && apt-get update && apt-get upgrade -y) > /dev/null 2>&1
I then ran the backup script
cd /root sudo ./backup