<?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: Login Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093526#M730197</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Assuming you are using posix shell.&lt;BR /&gt;&lt;BR /&gt;/etc/profile applies to all users&lt;BR /&gt;&lt;BR /&gt;$HOME/.profile applies to individual users.&lt;BR /&gt;&lt;BR /&gt;Login scripts are not really executed, they are source. The effect is to set up the environment and run programs.&lt;BR /&gt;&lt;BR /&gt;They are normally not interactive.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 29 Oct 2007 07:31:57 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-10-29T07:31:57Z</dc:date>
    <item>
      <title>Login Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093524#M730195</link>
      <description>I would like to know how to configure a login script on HPUX.</description>
      <pubDate>Mon, 29 Oct 2007 07:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093524#M730195</guid>
      <dc:creator>Gustavo Souza Lima</dc:creator>
      <dc:date>2007-10-29T07:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Login Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093525#M730196</link>
      <description>Do you mean a scipt that is executed when a user logs in?  Just one user?  All users?&lt;BR /&gt;&lt;BR /&gt;For one user, you can add commands to .profile.  For all users, use /etc/profile.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 29 Oct 2007 07:24:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093525#M730196</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-10-29T07:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Login Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093526#M730197</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Assuming you are using posix shell.&lt;BR /&gt;&lt;BR /&gt;/etc/profile applies to all users&lt;BR /&gt;&lt;BR /&gt;$HOME/.profile applies to individual users.&lt;BR /&gt;&lt;BR /&gt;Login scripts are not really executed, they are source. The effect is to set up the environment and run programs.&lt;BR /&gt;&lt;BR /&gt;They are normally not interactive.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 29 Oct 2007 07:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093526#M730197</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-10-29T07:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Login Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093527#M730198</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;global changes for all users in /etc/profile I recommend to code in a seperate file like /etc/profile.local:&lt;BR /&gt;&lt;BR /&gt;In /etc/profile anchor such at the end of that file like this:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;if [ -s /etc/profile.local ]&lt;BR /&gt;then . /etc/profile.local&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;In /etc/profile.local add your stuff, e.g.&lt;BR /&gt;...&lt;BR /&gt;HOST=${HOST:-$(uname -n)}&lt;BR /&gt;if [ -t 1 ]&lt;BR /&gt;then&lt;BR /&gt;   if [ "$LOGNAME" != root ]&lt;BR /&gt;   then&lt;BR /&gt;      PS1="$LOGNAME@$HOST: "&lt;BR /&gt;   fi&lt;BR /&gt;fi&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Oct 2007 12:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-script/m-p/4093527#M730198</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-10-29T12:42:33Z</dc:date>
    </item>
  </channel>
</rss>

