Restoring User profiles

Philipp Hanselmann philipp at schoolnet.na
Thu Sep 20 10:43:26 BST 2007


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 :
#!/bin/sh
> #
> # 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
>
try:
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 
Technology

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.





More information about the edubuntu-users mailing list