<?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: Default user shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302532#M184101</link>
    <description>check the following:&lt;BR /&gt;1. #!/usr/bin/sh or ksh at the begining of veritas.sh&lt;BR /&gt;2.export DISPLAY=&lt;PC node="" name=""&gt;:0.0&lt;BR /&gt;3.Check putty config : Connection-&amp;gt;SSH-&amp;gt;Tunnels has "Enable X Forwarding" checked&lt;BR /&gt;4. give /fullpath/veritas.sh &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/PC&gt;</description>
    <pubDate>Sun, 13 Jun 2004 01:11:52 GMT</pubDate>
    <dc:creator>SAHA</dc:creator>
    <dc:date>2004-06-13T01:11:52Z</dc:date>
    <item>
      <title>Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302518#M184087</link>
      <description>We have created a script that will call veritas netbackup java console, which we called veritas.sh.  Given rwxr-xr-x permission.&lt;BR /&gt;&lt;BR /&gt;We included this in /etc/shells&lt;BR /&gt;&lt;BR /&gt;We created a user whose default shell is /fullpath/veritas.sh&lt;BR /&gt;&lt;BR /&gt;Our usual procedure is to open Exceed (for X terminal), then connect thru ssh using putty.&lt;BR /&gt;&lt;BR /&gt;The problem is that after providing username and password the putty session automatically disconnects. &lt;BR /&gt;&lt;BR /&gt;What could be the problem?</description>
      <pubDate>Fri, 11 Jun 2004 04:26:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302518#M184087</guid>
      <dc:creator>Irene Jao</dc:creator>
      <dc:date>2004-06-11T04:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302519#M184088</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Change the shell to /usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;RDL.</description>
      <pubDate>Fri, 11 Jun 2004 04:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302519#M184088</guid>
      <dc:creator>Rajesh D L</dc:creator>
      <dc:date>2004-06-11T04:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302520#M184089</link>
      <description>how does the ssh connection export DISPLAY ? Are you tunneling X through ssh ?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 04:32:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302520#M184089</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-06-11T04:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302521#M184090</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;All flavours of UNIX has only sh,ksh,bash,POSIX shell but never heard of the shell you have mentioed(veritas.sh).&lt;BR /&gt;&lt;BR /&gt;Propably veritas.sh is the script which calls netbackup java console. which must be included in user .profile file. No matter what shell the user uses if the script start with #!/sbin/sh</description>
      <pubDate>Fri, 11 Jun 2004 04:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302521#M184090</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-06-11T04:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302522#M184091</link>
      <description>We created the script called veritas.sh &lt;BR /&gt;&lt;BR /&gt;What we actually want is for a particular user, say user01, to automatically run the script upon login. We want to prevent him from getting in the prompt. &lt;BR /&gt;&lt;BR /&gt;Yes we are using tunnel.</description>
      <pubDate>Fri, 11 Jun 2004 04:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302522#M184091</guid>
      <dc:creator>Irene Jao</dc:creator>
      <dc:date>2004-06-11T04:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302523#M184092</link>
      <description>It seems that /fullpath/veritas.sh is getting executed and the session is getting disconnected.&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Fri, 11 Jun 2004 04:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302523#M184092</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-06-11T04:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302524#M184093</link>
      <description>By the way, it works when we connect using telnet (using putty).  But it doesn't when using ssh.</description>
      <pubDate>Fri, 11 Jun 2004 04:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302524#M184093</guid>
      <dc:creator>Irene Jao</dc:creator>
      <dc:date>2004-06-11T04:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302525#M184094</link>
      <description>Yes that's possible. But how do we address that issue?</description>
      <pubDate>Fri, 11 Jun 2004 04:47:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302525#M184094</guid>
      <dc:creator>Irene Jao</dc:creator>
      <dc:date>2004-06-11T04:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302526#M184095</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you need to export the display to user station. In the user .profile enter the command &lt;BR /&gt;export DISPLAY=&lt;IP of="" user="" station=""&gt;:0.0&lt;BR /&gt;/fullpath/veritas.sh&lt;BR /&gt;&lt;BR /&gt;Keep the exceed in passive mode.&lt;BR /&gt;&lt;/IP&gt;</description>
      <pubDate>Fri, 11 Jun 2004 05:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302526#M184095</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-06-11T05:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302527#M184096</link>
      <description>could you please put here a copy of your script ? this would help.&lt;BR /&gt;&lt;BR /&gt;Does ssh rely on /etc/shells. Not all program does, and maybe ssh has a more restrictive behaviour.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 05:29:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302527#M184096</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-06-11T05:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302528#M184097</link>
      <description>Make sure in the putty config that Connection-&amp;gt;SSH-&amp;gt;Tunnels&lt;BR /&gt;has "Enable X Forwarding" checked.  By default, it's not.&lt;BR /&gt;&lt;BR /&gt;I'm also not sure using the script as the shell will allow for the exporting of DISPLAY.&lt;BR /&gt;&lt;BR /&gt;I would use a regular shell for the user, then put a call to the script in the user's .profile, followed by the "exit" command.</description>
      <pubDate>Fri, 11 Jun 2004 10:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302528#M184097</guid>
      <dc:creator>Marc Smith</dc:creator>
      <dc:date>2004-06-11T10:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302529#M184098</link>
      <description>Did you test the veritas script manually?&lt;BR /&gt;I mean, give the user a 'normal' shell, and execute veritas.sh. If this works, I guess using the veritas script as login shell forget to set all environment variables needed for the netbackup jave console. I would check this by adding a 'set &amp;gt; $HOME/env.txt' to the veritas script. Also redirect all output and stderr to a file so you can troubleshoot (e.g. command &amp;gt;&amp;gt;logfile 2&amp;gt;&amp;amp;1.&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Fri, 11 Jun 2004 11:31:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302529#M184098</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-06-11T11:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302530#M184099</link>
      <description>And finally: as with all shell script, make sure you did not forget the interpreter line at the top of the script:&lt;BR /&gt; &lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;..rest of your shell script...&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2004 15:36:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302530#M184099</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-11T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302531#M184100</link>
      <description>Irene -&lt;BR /&gt;Here are two scripts we use to access two different modes of Veritas&lt;BR /&gt;&lt;BR /&gt;Script 1&lt;BR /&gt;#! /bin/ksh                                                                     &lt;BR /&gt;#       09/25/01        dlamar          Set terminals for veritas gui interface &lt;BR /&gt;export DISPLAY=cmisdl.corp.gottschalks.com:0.0                                  &lt;BR /&gt;/usr/openv/java/jnbSA                                                           &lt;BR /&gt;                                                                                &lt;BR /&gt;                                                                                &lt;BR /&gt;Script                                                                  &lt;BR /&gt;#! /bin/ksh                                                                     &lt;BR /&gt;#       09/25/01        dlamar          Set terminals for veritas gui interface &lt;BR /&gt;export DISPLAY=cmisdl.corp.gottschalks.com:0.0                                  &lt;BR /&gt;/usr/openv/netbackup/bin/xbp                                              &lt;BR /&gt;&lt;BR /&gt;You can mainpulate their use however you feel, i.e. call from .profile, .shrc, .kshrc, etc.&lt;BR /&gt;&lt;BR /&gt;Best regards, &lt;BR /&gt;dl      &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Jun 2004 22:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302531#M184100</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2004-06-12T22:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302532#M184101</link>
      <description>check the following:&lt;BR /&gt;1. #!/usr/bin/sh or ksh at the begining of veritas.sh&lt;BR /&gt;2.export DISPLAY=&lt;PC node="" name=""&gt;:0.0&lt;BR /&gt;3.Check putty config : Connection-&amp;gt;SSH-&amp;gt;Tunnels has "Enable X Forwarding" checked&lt;BR /&gt;4. give /fullpath/veritas.sh &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/PC&gt;</description>
      <pubDate>Sun, 13 Jun 2004 01:11:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302532#M184101</guid>
      <dc:creator>SAHA</dc:creator>
      <dc:date>2004-06-13T01:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Default user shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302533#M184102</link>
      <description>Irene,&lt;BR /&gt;&lt;BR /&gt;Here is my 2 cents on making the "export DISPLAY" part dynamic.  Part of `who -m` will return the current IP of your session.  Which you can extract and use it to set your "export DISPLAY" comment.  Of course, you will need to "enable X11 tunneling" on your ssh client per many members suggested above.&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Howard</description>
      <pubDate>Sun, 13 Jun 2004 04:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-user-shell/m-p/3302533#M184102</guid>
      <dc:creator>Howard Yuen</dc:creator>
      <dc:date>2004-06-13T04:20:23Z</dc:date>
    </item>
  </channel>
</rss>

