<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linux - How to trace login procedure in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992454#M28182</link>
    <description>Shalom Rayb,&lt;BR /&gt;&lt;BR /&gt;Two ideas.&lt;BR /&gt;&lt;BR /&gt;set -x in the .bash_profile or whatever is being executed. env &amp;gt; file in the profile or startup script.&lt;BR /&gt;&lt;BR /&gt;At login, find out the process id and use strace to track the process in detail. See the man page for strace to see about hanging it on a process in a script.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 02 May 2007 09:39:04 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-05-02T09:39:04Z</dc:date>
    <item>
      <title>Linux - How to trace login procedure</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992453#M28181</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I'm experimenting a problem with the login procedure for a user.&lt;BR /&gt;When I log on interactively as user Joe on a Linux server, his environment (ie work, home log and temp directories) is set properly and the subject job executes properly.&lt;BR /&gt;When I submit the same job from an Autosys server, the job fails due mostly to an incorrect environment (generating infut file not found).&lt;BR /&gt;&lt;BR /&gt;I have modified the job to display userid and all system variables but that only provides the end result and not how/why the error happened.&lt;BR /&gt;&lt;BR /&gt;I try modifying /etc/profile to use "set -x" and "script" to an output file but that only gave me a zero length log.&lt;BR /&gt;&lt;BR /&gt;How can I trace the logon process? &lt;BR /&gt;I mean see which login scripts were executed and a detail log of each command?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rayb &lt;BR /&gt;</description>
      <pubDate>Wed, 02 May 2007 09:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992453#M28181</guid>
      <dc:creator>Raynald Boucher</dc:creator>
      <dc:date>2007-05-02T09:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linux - How to trace login procedure</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992454#M28182</link>
      <description>Shalom Rayb,&lt;BR /&gt;&lt;BR /&gt;Two ideas.&lt;BR /&gt;&lt;BR /&gt;set -x in the .bash_profile or whatever is being executed. env &amp;gt; file in the profile or startup script.&lt;BR /&gt;&lt;BR /&gt;At login, find out the process id and use strace to track the process in detail. See the man page for strace to see about hanging it on a process in a script.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 02 May 2007 09:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992454#M28182</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-02T09:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linux - How to trace login procedure</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992455#M28183</link>
      <description>Try modifying the job to source the /etc/profile, the .bashrc and .bash_profile files, for example:&lt;BR /&gt;&lt;BR /&gt;source /etc/profile&lt;BR /&gt;source ~/.bash_profile</description>
      <pubDate>Wed, 02 May 2007 11:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992455#M28183</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-05-02T11:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linux - How to trace login procedure</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992456#M28184</link>
      <description>You can start your "session" and then try to login that user, then use the tusc application to trace what is doing ...&lt;BR /&gt;#tusc &lt;YOUR commands=""&gt;&lt;BR /&gt;&lt;BR /&gt;Try that and let us know your results.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Marc0&lt;/YOUR&gt;</description>
      <pubDate>Wed, 02 May 2007 13:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-how-to-trace-login-procedure/m-p/3992456#M28184</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-05-02T13:28:47Z</dc:date>
    </item>
  </channel>
</rss>

