I am working on setting up my home network to be centrally managed from my server (Opensuse 11.3).
What I want is for all newly created accounts to automatically have an entry (in .profile I assume, is there a better location?) that runs a script on login, but I do not know where to find the default .profile at to modify it.
So far I have /etc/skel, /etc/zypper/repos.d, and /var/cache/zypp/packages on the server exported to each PC via NFS. /etc/skel doesnt have anything but the bin and public_html folders in it.
On another note, I am writing a shell script to check for the mount entries in fstab and add them if they are not there, how do you test for a string within a file? (using BASH)