I think that would work, except it meses up the permissions, so the accounts won't open.... I found <a href="http://http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/Deepfreeze_for_Linux">this tutorial
</a>, and I think it would work, but I am not sure how to copy and restore all of the user accounts "except" the administrator account:<br><br>In the home directory I have: kevin patron4 patron5 patron6<br><br>
The tutorial says to do this : <br><pre class="bbcodeblock" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 3px; overflow: auto; width: 98%; height: 82px; text-align: left;">#!/bin/bash<br><br>rm -f /root/Desktop/clean_all.tar
<br>tar -cpPf /root/Desktop/clean_all.tar /home/all</pre><br>but as I have said, if i do that it will also restore my kevin directory right?<br>Is there a way to exclude the kevin directory from the tarball? Or is there a way for me to put all of my public profiles in a directory like all? How would I do that?
<br><br>Thanks so much,<br><br>Also, the tutorial mentions that to get the restore script to run at bootup, the bootmisc.sh should be modified. Would this work by modifying /etc/rc.local?<br><br><br><div><span class="gmail_quote">
On 9/20/07, <b class="gmail_sendername">Philipp Hanselmann</b> <<a href="mailto:philipp@schoolnet.na">philipp@schoolnet.na</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
kevin smith schrieb:<br>> I would like to have user profiles restored after each login.... I<br>> tried making copies of the profiles in /home/ then put the following<br>> in /etc/rc.local<br>><br>> #!/bin/sh -e
<br>try :<br>#!/bin/sh<br>> #<br>> # rc.local<br>> #<br>> # This script is executed at the end of each multiuser runlevel.<br>> # Make sure that the script will "exit 0" on success or any other<br>
> # value on error.<br>> #<br>> # In order to enable or disable this script just change the execution<br>> # bits.<br>> #<br>> # By default this script does nothing.<br>> cp -f /home/kevin/Desktop/home/patron1 /home/patron1
<br>> cp -f /home/kevin/Desktop/home/patron2 /home/patron2<br>> cp -f /home/kevin/Desktop/home/patron3 /home/patron3<br>><br>try:<br>cp -fR /home/kevin/Desktop/home/patron1 /home/patron1<br>cp -fR/home/kevin/Desktop/home/patron2 /home/patron2
<br>cp -fR /home/kevin/Desktop/home/patron3 /home/patron3<br><br>> This dosen't seem to be doing anything....what have I done wrong?<br>><br>> Thanks,<br>><br>> exit 0<br>><br>> --<br>> Kevin Smith
<br>> Assistant Director<br>> Cass District Library AND<br>> The Fiddling Librarian: <a href="http://ashkev.weblogs.us">http://ashkev.weblogs.us</a><br>> ------------------------------------------------------------------------
<br>><br>> Internal Virus Database is out-of-date.<br>> Checked by AVG Free Edition.<br>> Version: 7.5.485 / Virus Database: 269.13.14/999 - Release Date: 10.09.2007 17:43<br>><br><br><br>--<br>SchoolNet NA - Youth Empowerment through Information and Communication
<br>Technology<br><br>SchoolNet Namibia provides sustainable, low cost technology solutions<br>and internet access, as well as technical support, training services and<br>rich educational content to schools, community-based educational
<br>organisations, and educational practitioners throughout Namibia.<br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Kevin Smith<br>Assistant Director<br>Cass District Library AND<br>The Fiddling Librarian: <a href="http://ashkev.weblogs.us">
http://ashkev.weblogs.us</a>