Re: .profile not being run

From: Tony Lawrence (apl_at_shell01.TheWorld.com)
Date: 12/24/03


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


Relevant Pages

  • Re: Displaying a Form from within an ActiveX DLL
    ... Have checked and it if not hidden behind the app. ... ' THIS FUNCTION DISPLAYS A MSFLEXGRID CONTROL DISPLAYING THE PROFILE ... Dim ColumnName As String ... Dim GridColumnIndex As Integer ...
    (microsoft.public.vb.general.discussion)
  • Re: TS Roaming profiles and Local settings directory
    ... I suspect Outlook MVPs are going to have encountered this ... When the app launches, it basically does a mapi call to allow ... > If you have never logged into the server, and run the app, it fails to ... > The local settings portion of your TS profile ...
    (microsoft.public.windows.terminal_services)
  • Re: TS Roaming profiles and Local settings directory
    ... I suspect Outlook MVPs are going to have encountered this ... When the app launches, it basically does a mapi call to allow ... > If you have never logged into the server, and run the app, it fails to ... > The local settings portion of your TS profile ...
    (microsoft.public.outlook.installation)
  • Re: 16 Bit Subsystem - Per Profile?
    ... Oh, I have no doubt that creating a new profile would solve the problem, ... On one of the machines, this app will not run ... > In memory of a dear friend Alex Nichol MVP ...
    (microsoft.public.windowsxp.accessibility)
  • Re: Extended MAPI as NT Service
    ... The other article that I reference was: ... > OutlookR Messages Automatically (via App. ... >> Do I have to create a new Profile? ... >> Using VS6 code samples, I created a new profile in code using ...
    (microsoft.public.win32.programmer.messaging)