From: Waider (waider at domain dspsrv.com)
Date: Thu 27 Sep 2001 - 12:01:47 IST
According to Aherne Peter-pahern02:
> Ok, say I have a script, user runs script there is an option of servers to log into, they select a server, the script then does the login but I still want to run things for this user on the other server without having to get every user to edit there respective .login files or whatever. So what I basically have is a case.
> case 1
> login to server1; run this
> case 2
> login to server2; run this2
> I want to make life for the users as easy (idiot proof) as possible, essentially so they dont have to do anything or change there own accounts.
> Hope this makes sense.
Can't quite see what you're trying to achieve here, but how about modifying
the shell startup scripts for all users? I think csh runs /etc/login.csh or
thereabouts when you use it as a login shell, and /etc/cshrc if you're just
running an ordinary shell. Check your csh manpage to be sure.
-- waider at domain dspsrv.com / Chances are I'm not at home right now.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:19 GMT