Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!umich!vela!schemers From: schemers@vela.acs.oakland.edu (Roland Schemers III) Newsgroups: comp.unix.ultrix Subject: global .login for cshrc Summary: system wide .login Keywords: /etc/csh.login Message-ID: <3579@vela.acs.oakland.edu> Date: 30 Oct 90 21:19:47 GMT Reply-To: schemers@vela.acs.oakland.edu (Roland Schemers III) Organization: Oakland University, Rochester MI Lines: 24 Why isn't there a .login/.cshrc which system wide? It appears there is two ways to create one: 1. Have every user be honest and keep a source /etc/csh.login line in their ~/.login. This has the disadvantage that they could remove this line. 2. Make everyones ~/.login a symbolic link to /etc/csh.login. The ~/.login file would be owned by root, readable by everyone, writeable by no one. The /etc/csh.login would have a last line which was source ~/.userlogin. That way a user could put commands they want in a file called .userlogin, which gets called by /etc/csh.login. Any suggestions? This all stems from the fact that some products require enviroment variables, we write new commands such as print queue selection commands that must be alaises so they can set someones env variable. Thanx, Roland -- Roland J. Schemers III Systems Programmer schemers@vela.acs.oakland.edu (Ultrix) Oakland University schemers@argo.acs.oakland.edu (VMS) Rochester, MI 48309-4401 ~Disclaimer::Disclaimer() { reboot(RB_HALT); } (313)-370-4323