Re: .profile not being run
From: Tony Lawrence (apl_at_shell01.TheWorld.com)
Date: 12/24/03
- Next message: Tony Lawrence: "Re: Old Unix App"
- Previous message: Betan: "Re: [HELP] : I can't install sco 5.0.4 error loading files"
- In reply to: Scott: ".profile not being run"
- Next in thread: Dan Martin: "Re: .profile not being run"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Dec 2003 13:00:11 +0000 (UTC)
Scott <scott@eurolife.xxx.co.uk> wrote:
>Hi,
>I'm running SCO OpenServer 5.0.5 on a Dell PowerEdge 2300.
>This morning, for a short period (maybe around 10mins?), anyone who logged
>in did not have their $HOME/.profile run, it appears as if /etc/profile was
>being run though.
>Users were just being dumped at Bourne shell prompt (scary!).
The implication here is that something in their profile starts
some other app. Do you do that with an exec or just call the app?
You can tell when a .profile was last accessed by "ls -lut .profile".
That tells you whether or not it WAS run when the logged in. Observe it,
try logging in as the user, observe again: if the time stamp changed,
it was accessed.
You can tell whether some other problem in .profile caused this by then
doing ". ./.profile".
-- tony@aplawrence.com Unix/Linux/Mac OS X resources: http://aplawrence.com Get paid for writing about tech: http://aplawrence.com/publish.html
- Next message: Tony Lawrence: "Re: Old Unix App"
- Previous message: Betan: "Re: [HELP] : I can't install sco 5.0.4 error loading files"
- In reply to: Scott: ".profile not being run"
- Next in thread: Dan Martin: "Re: .profile not being run"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|