Results 1 to 8 of 8

Thread: harddrive wipe on restart

  1. #1
    Join Date
    Oct 2012
    Beans
    47
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    harddrive wipe on restart

    I'm working at a community access site and we are getting new computers soon. We are planning on running a mix of some ubuntu release and windows 7. We already have a solution or will find a solution for clearing all data created during a session but are looking for the best solution for ubuntu. I personally have used ubuntu in the past and have just recently switch(for good I think) on my home computers.
    Here is what our setup is like and what is needed:
    -6 computers that will be capable of dual booting ubuntu/windows

    -each computer is going to be set up to automatically log in to a customer account

    -there will be a staff/admin account

    -the customer account needs to not suffer from any loss of functionality but needs to
    be secure in a way that they cannot damage the computers accidentally

    -we have the computers set to restart after 15 minutes of idle and upon restart, all changes that were made during the session need to be permanently deleted

    -the solution needs to be relatively easy to implement and fix if errors occur

    -we need to be capable of imaging both partitions using FOG(hopefully)

    I know there are ways to do this and hopefully I can be pointed in the right way. I haven't done much research into doing this but thought this would be the right place to get pointed in the right direction.

    Long post for a first post but I'll hopefully be capable of contributing to the community and to this forum

  2. #2
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    7,807

    Re: harddrive wipe on restart

    Simple really. Install a virtualizer such as Vmware or Virtualbox and upon logout, use tar to unarchive and overwrite the VM with a fresh copy.

  3. #3
    Join Date
    Oct 2012
    Beans
    47
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Re: harddrive wipe on restart

    Sounds interesting but then I would need to set up scripts or something to do it automatically. I don't know if vbox will work for this but I'll look into it because that would make managing images really simple.

  4. #4
    Join Date
    Sep 2011
    Beans
    1,531

    Re: harddrive wipe on restart

    That sounds a lot like the Ubuntu guest account. Have you looked at its capabilities?

    Also I would disable the usb ports & CD drive. Give people an option to share/move their files via email or dropbox or some other cloud method.

  5. #5
    Join Date
    Oct 2012
    Beans
    47
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Re: harddrive wipe on restart

    Unfortunately I can't disable usb ports and cd drives as they are one of the most used file transfer solutions at the site. I'll look into guest account forsure though. It would be awesome if that can do everything I need. I was thinking maybe have a read only partition and then all written files be written to a temp file on another partition that gets erased everytime the computer is restarted. There really can't be any files from the user remaining in any form after restart.

  6. #6
    Join Date
    Sep 2011
    Beans
    1,531

    Re: harddrive wipe on restart

    Hmm.

    Your thread seems to have evolved into something similar to this thread:
    http://ubuntuforums.org/showthread.php?t=2079725

  7. #7
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,062
    Distro
    Kubuntu Development Release

    Re: harddrive wipe on restart

    Another solution might be to create a copy of /home somewhere in the file system. Then at boot, you could run a script from /etc/rc.local that would copy this image to a ramdisk and mount the ramdisk as /home. Upon reboot the ramdisk will vanish and be created anew.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  8. #8
    Join Date
    Oct 2012
    Beans
    47
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Re: harddrive wipe on restart

    So /home being mounted to ram disk or getting over written is all that needs to be done?
    That sounds like an easy solution. I'll check that out.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •