LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2003, 12:33 PM   #1
aaron268
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
.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

Last edited by aaron268; 05-29-2003 at 12:35 PM.
 
Old 05-29-2003, 04:49 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Write a script that asks for a new user and then creates the file?
 
Old 05-29-2003, 05:00 PM   #3
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Put the file in /etc/skel.

Ian
 
Old 05-29-2003, 05:03 PM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
*iceman47 slaps himself for forgetting that*
more info on the BLFS site:
http://beyond.linuxfromscratch.org/v...tlfs/skel.html
 
Old 05-30-2003, 09:01 AM   #5
aaron268
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to locate file in home directory learnfast Linux - Newbie 3 03-14-2005 07:15 AM
The .cshrc file is missing from the user homedir vut Linux - Software 1 11-23-2004 08:28 AM
Where is the.cshrc file in mandrake10.0? lbabey Linux - Newbie 1 11-08-2004 03:55 PM
Samba with ADS as a home directory file server? xwoz Linux - Software 0 08-16-2004 07:50 AM
.xession-errors file in my home directory drxsmurf Linux - Software 3 05-06-2004 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration