* [SUMMARY] .profile not executing
@ 1999-10-25 20:11 Cozard, Terry
0 siblings, 0 replies; only message in thread
From: Cozard, Terry @ 1999-10-25 20:11 UTC (permalink / raw)
To: tru64-unix-managers
Thanks for everyone who responded. As is often the case, it was a simple
solution - I was just looking in the wrong place for the answer.
Here was my initial message:
I'm having a peculiar problem with one of my users. I've searched
the archive & didn't see anything.
For some reason when this user logs on (using Exceed to log onto an
Xterm using ksh) his .profile fails to execute. But if I su into his
account from root it does execute the .profile. In trying to troubleshoot I
have done the following:
* I have checked permissions for his .profile and they are ok.
* There is no .kshrc file (and ENV variable is not declared).
* I have verified in the /etc/passwd file is showing that he is
using the /usr/bin/ksh (we are not running C2 security).
* I've added echo commands at the beginning of the .profile to
verify that the file is being executed. It displays my message only when I
su into the user's account.
* I have (I believe) eliminated that Exceed (the X windows program
we use) has any variables affecting this by trying to log on to his & other
accounts from multiple machines. It always works correctly for everyone but
him.
I'm stumped. Any suggestions?
The answer is:
The configuration for Exceed was incorrect. The user was setting up a new
session through exceed & it doesn't use the -ls flag by default. That flag
indicates that it is a 'login shell' and therefore uses the traditional
startup files (.profile, .cshrc, .login etc.). Once I added that flag
everything worked as expected.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-10-25 20:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-25 20:11 [SUMMARY] .profile not executing Cozard, Terry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox