[net.unix] How do I get my root id to run .login?

lorien@dartvax.UUCP (Lorien Y. Pratt) (12/08/83)

Subject: How do I get my root id to run .login?
Newsgroups: net.unix-wizards net.wanted net.unix

I have a signon on our 4.2BSD system (the same problem happened in our
old 4.1) whose userid is 0 (the root).  csh is my login shell.  WHY
won't csh source my .login file?  HOW can I get it to?  For six months
now, every time I sign on, I have to type:
  source .login
and this is a pain in the neck!

frustratingly,

      --Lorien Y. Pratt
	Dartmouth College Library
	Hanover, NH  03755

	decvax!dartvax!lorien

kg@hplabs.UUCP (Ken Greer) (12/08/83)

Csh specifically checks the owner (and group) of the file
and forbids sourceing it if it's not yours.  You'll have to change
the csh source if you want to bypass this check (...as I have done
with every BSD release.)   See the calls to srcunit in sh.c.
-- 
Ken Greer