Restoring User profiles
ashkev at gmail.com
Thu Sep 20 15:32:12 BST 2007
I think that would work, except it meses up the permissions, so the accounts
won't open.... I found this
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:
In the home directory I have: kevin patron4 patron5 patron6
The tutorial says to do this :
rm -f /root/Desktop/clean_all.tar
tar -cpPf /root/Desktop/clean_all.tar /home/all
but as I have said, if i do that it will also restore my kevin directory
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?
Thanks so much,
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
On 9/20/07, Philipp Hanselmann <philipp at schoolnet.na> wrote:
> kevin smith schrieb:
> > I would like to have user profiles restored after each login.... I
> > tried making copies of the profiles in /home/ then put the following
> > in /etc/rc.local
> > #!/bin/sh -e
> try :
> > #
> > # rc.local
> > #
> > # This script is executed at the end of each multiuser runlevel.
> > # Make sure that the script will "exit 0" on success or any other
> > # value on error.
> > #
> > # In order to enable or disable this script just change the execution
> > # bits.
> > #
> > # By default this script does nothing.
> > cp -f /home/kevin/Desktop/home/patron1 /home/patron1
> > cp -f /home/kevin/Desktop/home/patron2 /home/patron2
> > cp -f /home/kevin/Desktop/home/patron3 /home/patron3
> cp -fR /home/kevin/Desktop/home/patron1 /home/patron1
> cp -fR/home/kevin/Desktop/home/patron2 /home/patron2
> cp -fR /home/kevin/Desktop/home/patron3 /home/patron3
> > This dosen't seem to be doing anything....what have I done wrong?
> > Thanks,
> > exit 0
> > --
> > Kevin Smith
> > Assistant Director
> > Cass District Library AND
> > The Fiddling Librarian: http://ashkev.weblogs.us
> > ------------------------------------------------------------------------
> > Internal Virus Database is out-of-date.
> > Checked by AVG Free Edition.
> > Version: 7.5.485 / Virus Database: 269.13.14/999 - Release Date:
> 10.09.2007 17:43
> SchoolNet NA - Youth Empowerment through Information and Communication
> SchoolNet Namibia provides sustainable, low cost technology solutions
> and internet access, as well as technical support, training services and
> rich educational content to schools, community-based educational
> organisations, and educational practitioners throughout Namibia.
Cass District Library AND
The Fiddling Librarian: http://ashkev.weblogs.us
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the edubuntu-users