From owner-freebsd-questions Thu Nov 21 22:19:15 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA27217 for questions-outgoing; Thu, 21 Nov 1996 22:19:15 -0800 (PST) Received: from narcissus.ml.org (brosenga.st.pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA27206 for ; Thu, 21 Nov 1996 22:19:00 -0800 (PST) Received: (from root@localhost) by narcissus.ml.org (8.7.5/8.7.3) id WAA04136; Wed, 20 Nov 1996 22:23:51 -0800 (PST) Date: Wed, 20 Nov 1996 22:23:51 -0800 (PST) From: Levels of Indirection To: JBH cc: Snob Art Genre , questions@freebsd.org Subject: Re: tcsh apparently failing to run .cshrc In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 22 Nov 1996, JBH wrote: > > how about some more information? What version of tcsh? How did you > install it? Package or source and then making? Are the users via NIS > or via /etc/passwd. Are you sure the .cshrc is in their home > directory? Are the permissions correct? > > Justin Hello, I'm sorry I didn't provide more information with the first message -- I wasn't sure what info would be helpful. It's version 6.06. The users are logging in with /etc/passwd, that is, they're telnetting in directly to my machine. Yes, I'm sure of the location and permissions on the .cshrc's; they were added with the adduser Perl script. I installed tcsh with pkg_add via sysinstall. I am running version 2.1.5 of FreeBSD off the CD-ROM, with only minor adjustments to the kernel. On the only account on which I was able to see this directly, there was an additional problem. I su'd to that account and found that I was unable to read or write its files! I logged in as root on another vty and tried it again, and root could read and write the files with no problem. As root, I copied the .cshrc file for this account to a .tcshrc, and it ran on login as expected. I removed the .tcshrc and .cshrc still didn't work. Sorry about the verbosity. Ben > > > On Thu, 21 Nov 1996, Snob Art Genre wrote: > > > Some of my users are having problems with their .cshrc failing to run when > > they log in. Why on earth would this happen? > > > > > > > > Ben > > > > > Ben