<?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: problem whit su in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770253#M74452</link>
    <description>You need to drop the "-" from the su command. You do not want to source .profile because it contains commands that assumes you have a terminal (stty, tabs, ...). Use su without the "-" and set your environment variables inside your cron script.&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Jul 2002 12:45:17 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2002-07-23T12:45:17Z</dc:date>
    <item>
      <title>problem whit su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770252#M74451</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I have a problem whit su, when i execute:&lt;BR /&gt;su - amass "ll"  the system request&lt;BR /&gt;Mot de passe :&lt;BR /&gt;requestTERM = (hp)&lt;BR /&gt;&lt;BR /&gt;is posible what the system don't request that?&lt;BR /&gt;i think that if include this line in the cron don't execute correct.&lt;BR /&gt;&lt;BR /&gt;thank you for help me.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 12:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770252#M74451</guid>
      <dc:creator>Jose Ramirez_6</dc:creator>
      <dc:date>2002-07-23T12:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem whit su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770253#M74452</link>
      <description>You need to drop the "-" from the su command. You do not want to source .profile because it contains commands that assumes you have a terminal (stty, tabs, ...). Use su without the "-" and set your environment variables inside your cron script.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 12:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770253#M74452</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-23T12:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem whit su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770254#M74453</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;If you are root, then su does not require to enter the password for the user amass.&lt;BR /&gt;&lt;BR /&gt;But if you are not root, I'm afraid you have the enter the password.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Vince</description>
      <pubDate>Tue, 23 Jul 2002 12:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770254#M74453</guid>
      <dc:creator>Vincent Farrugia</dc:creator>
      <dc:date>2002-07-23T12:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem whit su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770255#M74454</link>
      <description>Comment out the following line in ~amass/.login:&lt;BR /&gt;&lt;BR /&gt;# eval `tset -s -Q -m ':?hp' `&lt;BR /&gt;&lt;BR /&gt;Then you can run you su command.  The original eval command in .login is not really needed most of the times.&lt;BR /&gt;&lt;BR /&gt;Hai&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 12:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770255#M74454</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-23T12:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: problem whit su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770256#M74455</link>
      <description>Try "su amass"!&lt;BR /&gt;If you still must use "su - amass" , I think there must be some conflict in $HOME/.profile. You can comment out certain lines to have a test.&lt;BR /&gt;&lt;BR /&gt;live as you wish&lt;BR /&gt;ux</description>
      <pubDate>Tue, 23 Jul 2002 13:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770256#M74455</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2002-07-23T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem whit su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770257#M74456</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;put that line with "tset" or "ttytype" into an "if-then" statement:&lt;BR /&gt;&lt;BR /&gt;if [ -t 0 ]; then&lt;BR /&gt;tset ...&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Then it will only be executed when you "su" interactively, but not fform "cron" or "at"!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 19:35:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-whit-su/m-p/2770257#M74456</guid>
      <dc:creator>Wodisch_1</dc:creator>
      <dc:date>2002-07-23T19:35:10Z</dc:date>
    </item>
  </channel>
</rss>

