.cshrc file not in home directory on RH8 or RH9?
Hello, I have some experience on solaris and .cshrc login scripts. Now I'm trying to set up a RH8 and RH9 system and have multiple user accounts defaulting to the C shell /bin/csh
So I go to the accounts home directories to edit there .cshrc files, and there not there? I do some research and discover that red hat uses .tcshrc, that file is not there either? I see the bash log in script in all the home directories. why arent these c shell log in script files there be default also ? I have looked at a few books and several websites and they all seem to indicate the .cshrc, and/or .tcshrc file should be in each home directory be default but there not. How can I get Red Hat linux to put a default .cshrc, or .tcshrc file in users home directories when I create a new user? thanks :newbie: |
Write a script that asks for a new user and then creates the file?
|
Put the file in /etc/skel.
Ian |
*iceman47 slaps himself for forgetting that*
more info on the BLFS site: http://beyond.linuxfromscratch.org/v...tlfs/skel.html |
Thanks for the help.
I see now that everything in "/etc/skel" gets copied to a new users home directory, strange thing is I wasn't able to find the original version of /etc/skel/.bashrc the closest one I found was /root/.bashrc so I copied /root/.cshrc to /etc/skel and removed the aliases. and that solved my problem. |
All times are GMT -5. The time now is 12:19 PM. |