<?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 Menu in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756508#M835669</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Put the menu script in /etc/passwd file intead of the user shell OR put the entry at the end in the .pfofile file of the user.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
    <pubDate>Tue, 02 Jul 2002 16:08:26 GMT</pubDate>
    <dc:creator>PIYUSH D. PATEL</dc:creator>
    <dc:date>2002-07-02T16:08:26Z</dc:date>
    <item>
      <title>Login Menu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756505#M835666</link>
      <description>What is the best way to set up a user that on login has a menu displayed to select a home directory and/or a set of different environment variables?</description>
      <pubDate>Tue, 02 Jul 2002 15:50:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756505#M835666</guid>
      <dc:creator>Malcolm McKenzie</dc:creator>
      <dc:date>2002-07-02T15:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Login Menu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756506#M835667</link>
      <description>A couple of ways to do that.&lt;BR /&gt;&lt;BR /&gt;1)  You can set their default shell in /etc/passwd so that it points to the menu script and then the menu invokes applications or a shell as needed.&lt;BR /&gt;&lt;BR /&gt;2)  You can have the menu script execute as the last in the users .profile file.</description>
      <pubDate>Tue, 02 Jul 2002 15:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756506#M835667</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-07-02T15:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Login Menu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756507#M835668</link>
      <description>Hi Malcolm:&lt;BR /&gt;&lt;BR /&gt;There are two easy ways:&lt;BR /&gt;&lt;BR /&gt;Choice-1 is to place the name of the menu script at the end of the user's profile, as:&lt;BR /&gt;&lt;BR /&gt;# exec $HOME/usermenu.sh&lt;BR /&gt;&lt;BR /&gt;Choice-2 is to substitute the menuscript for the normal shell as specified in '/etc/passwd'.  That is, instead of the login shell (field-7), substitute the absolute path to the user's menu script:&lt;BR /&gt;&lt;BR /&gt;# /home/theuse/usermenu.sh&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 02 Jul 2002 15:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756507#M835668</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-02T15:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Login Menu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756508#M835669</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Put the menu script in /etc/passwd file intead of the user shell OR put the entry at the end in the .pfofile file of the user.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Tue, 02 Jul 2002 16:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756508#M835669</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-07-02T16:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Login Menu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756509#M835670</link>
      <description>Malcom -&lt;BR /&gt;We did something similar for a user id we wished to have access to only select items.&lt;BR /&gt;The call of the menu was placed in their .kshrc file as well as a source in of a file containing the necessary environment variables they would need.&lt;BR /&gt;Most important was the exit that would occur if the user exits the menu.&lt;BR /&gt;Below are the excerpts -&lt;BR /&gt;&lt;BR /&gt;# environment variables needed.&lt;BR /&gt;./opt/apps/jobprod/config/jdaprod.env&lt;BR /&gt;# call the menu.  ./opt/apps/jobprod/interface/jdaodbms/menu_name_script&lt;BR /&gt;# exit if they leave the menu.&lt;BR /&gt;exit&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jul 2002 23:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756509#M835670</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2002-07-02T23:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Login Menu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756510#M835671</link>
      <description>Thanks for the responses.  I've tried both methods, I've set a menu which points a user to different directories depending on their input.  However, when the menu input is complete the user is disconnected from the session.</description>
      <pubDate>Wed, 03 Jul 2002 07:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756510#M835671</guid>
      <dc:creator>Malcolm McKenzie</dc:creator>
      <dc:date>2002-07-03T07:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Login Menu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756511#M835672</link>
      <description>Have you considered setting up an alternate profile with the environment settings you want and calling the alternate profile via an alias in the main profile ? Then just print a menu upon initial login to remind the user which alias command to use to run the alternate profile ?</description>
      <pubDate>Wed, 03 Jul 2002 08:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-menu/m-p/2756511#M835672</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2002-07-03T08:37:00Z</dc:date>
    </item>
  </channel>
</rss>

