<?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: How do I get su command to look at /etc/profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508628#M217848</link>
    <description>you need "su - user_name"&lt;BR /&gt;man su for details.</description>
    <pubDate>Mon, 21 Mar 2005 11:01:14 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-03-21T11:01:14Z</dc:date>
    <item>
      <title>How do I get su command to look at /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508626#M217846</link>
      <description>I'm on HPUX11. When I su from an ordinary user to become root (su, ENTER, password,ENTER) , it doesn't appear to run /etc/profile. I have some aliases set up there which don't appear to get run. Is ther a way of getting su to look at /etc/profile , root's profile or a profile of its own so than I can enable these aliases. This isn't vital - just handy for me in admin.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Mon, 21 Mar 2005 10:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508626#M217846</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-03-21T10:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get su command to look at /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508627#M217847</link>
      <description>You dont&lt;BR /&gt;&lt;BR /&gt;Change su username&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;su - username&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That will read /etc/profile $HOME/.profile and anything referenced therein.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 21 Mar 2005 11:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508627#M217847</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-21T11:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get su command to look at /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508628#M217848</link>
      <description>you need "su - user_name"&lt;BR /&gt;man su for details.</description>
      <pubDate>Mon, 21 Mar 2005 11:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508628#M217848</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-21T11:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get su command to look at /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508629#M217849</link>
      <description>To run /etc/profile and root's profile you have to use&lt;BR /&gt;#su -&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2005 11:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508629#M217849</guid>
      <dc:creator>Rajeev Tyagi</dc:creator>
      <dc:date>2005-03-21T11:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get su command to look at /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508630#M217850</link>
      <description># man su&lt;BR /&gt;&lt;BR /&gt;Will give you all the detail you need.&lt;BR /&gt;&lt;BR /&gt;In a nutshell:  &lt;BR /&gt;&lt;BR /&gt;If you specify the '-' (su - ) then su treats the new user as if you just logged in and all environments get processed.&lt;BR /&gt;&lt;BR /&gt;If you don't specify the '-' then a subshell of you current shell is invoked and nothing gets read.</description>
      <pubDate>Mon, 21 Mar 2005 11:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508630#M217850</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-03-21T11:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get su command to look at /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508631#M217851</link>
      <description>Many thanks,&lt;BR /&gt;&lt;BR /&gt;Points awarded.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Mon, 21 Mar 2005 11:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i-get-su-command-to-look-at-etc-profile/m-p/3508631#M217851</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-03-21T11:46:13Z</dc:date>
    </item>
  </channel>
</rss>

