1

I'm configuring some PCs for a school computer lab and what I want to achieve is that every time I boot the PC the script deletes a student user and recreates it to restore all default setting of the machine.

It is possible to achieve this configuration? I have tried it with a script and partial work until I logoff with the teacher user after that I can see student user and log in correctly with all defaults restored. What I want to do is to have the student user at login.

dessert
  • 40,956

1 Answers1

1

Guest session in Ubuntu 16.04 LTS

Install Ubuntu 16.04 LTS from the first point release, 16.04.1. It will stay with the xenial kernel series, now at 4.4.0-112, and will be supported until April 2021. You find the iso file and md5sum at the following link,

old-releases.ubuntu.com/releases/xenial

There is a working guest session in this version. It is true that it is not as safe as a confined session, but I think it can be good enough for this purpose.

enter image description here

The guest session is temporary. A new guest session is created every time someone logs in to it.

Live Ubuntu

A simple alternative is a live Ubuntu system (typically booted from a DVD disk or USB pendrive). It can be installed into an internal drive, if that would be best, for example with mkusb.

A live system (live-only, not persistent live) will be reset to the original state after reboot or shutdown.

sudodus
  • 47,684