/etc/skel is a possibly good place to put this sort of file.
See here:
http://www.linuxhowtos.org/Tips%20an...using_skel.htm
You will need to be root to be allowed to copy the file there:
Code:
root@server# cp /home/cdriskill/yourfile /etc/skel
Make sure the file is owned by root:
Code:
root@server# chown root:root /etc/skel/yourfile
and not writeable by others:
Code:
root@server# chmod 644 /etc/skel/yourfile
Then they can copy it to their home directories like this:
Code:
user@server$ cp /etc/skel/yourfile ~
(they will then be able to edit their own copy, but not the master one in
/etc/skel)
You cannot move a file from your home to another users home, because you do not have permission to do so. You have to do it as root, and then give them ownership of the file if you want them to be able to change it.
Code:
root@server# cp /home/cdriskill/yourfile /home/theirusername/
root@server# chown theirusername:theirusername /home/theirusername/yourfile
... and welcome to LQ!