Jane_ux | hi every1 | 15:03 |
---|---|---|
Jane_ux | heyy ogra, are you there?? | 15:03 |
Jane_ux | is there anyway to each time an user logout the home folder is restored to its initial state??? | 15:04 |
Jane_ux | its for the use in an public machine, like a kiosk terminal | 15:04 |
Jane_ux | i guess i can create a script that creates the backup image(s) of the public user account(s). | 15:07 |
Jane_ux | and then write a boot script that restores the backup image(s) of the public user account | 15:08 |
Jane_ux | i am in the right way??? | 15:08 |
=== greeneggsnospam is now known as jsgotangco | ||
Jane_ux | hi | 16:43 |
Jane_ux | I want to restore the public user home folder each time the computer reboots | 16:43 |
Jane_ux | i created the following script | 16:44 |
Jane_ux | #!/bin/sh # Restore script cd /home tar xvfz /home/restore_user.tar.gz | 16:44 |
Jane_ux | #!/bin/sh # Restore script cd /home tar xvfz /home/restore_guest.tar.gz | 16:44 |
Jane_ux | and i stored it in the /etc/init.d folder | 16:45 |
Jane_ux | i restarted the computer but it doesnt seem to work | 16:45 |
Jane_ux | any idea? | 16:45 |
Jane_ux | i must save the script as .sh file??? | 16:46 |
Jane_ux | how can i execute an script when an ltsp user logou?? | 17:41 |
Jane_ux | or at login | 17:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!