<?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: restrict user to go to command line in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509544#M894145</link>
    <description>When you use "exit" in a script you should tell the parents about the Exit Status.&lt;BR /&gt;&lt;BR /&gt;There are basically two exit statuses that &lt;BR /&gt;are important:&lt;BR /&gt;&lt;BR /&gt;Zero -- everyting went as it should&lt;BR /&gt;Greater than zero  -- there was a problem&lt;BR /&gt;&lt;BR /&gt;In the menu, you should use "exit 0" at the &lt;BR /&gt;end to show that the exit was successful&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Mar 2001 18:48:44 GMT</pubDate>
    <dc:creator>David Peacock</dc:creator>
    <dc:date>2001-03-27T18:48:44Z</dc:date>
    <item>
      <title>restrict user to go to command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509539#M894140</link>
      <description>Hi&lt;BR /&gt;We have to give a user access to run interactively a menu based utility and once the user exists out of that utility the shell should exist and no command line be available for the user.  &lt;BR /&gt;&lt;BR /&gt;Any idea how to go about that.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 26 Mar 2001 18:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509539#M894140</guid>
      <dc:creator>Asad Malik</dc:creator>
      <dc:date>2001-03-26T18:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: restrict user to go to command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509540#M894141</link>
      <description>At the end of the script the last line should just be the word exit.  You may also want to turn off Ctrl-C capabilities so they cannot break out and still get to the command line.  I do this by adding stty -isig to the beginning of their profile.</description>
      <pubDate>Mon, 26 Mar 2001 18:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509540#M894141</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2001-03-26T18:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: restrict user to go to command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509541#M894142</link>
      <description>hi,&lt;BR /&gt;on top of Tracy's tips you could also "exec" your menu; in this way the current shell is replaced by the menu, so leaving the menu equals logging out.&lt;BR /&gt;Saves you one process too :)&lt;BR /&gt;&lt;BR /&gt;Thierry.</description>
      <pubDate>Mon, 26 Mar 2001 18:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509541#M894142</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-03-26T18:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: restrict user to go to command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509542#M894143</link>
      <description>If this is a menu based utility, is it being run from an action definition through CDE.  If so, you could define your action so that it runs a window type of NO_STDIO which will only run the gui, with no terminal.</description>
      <pubDate>Mon, 26 Mar 2001 19:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509542#M894143</guid>
      <dc:creator>Brian Pyle</dc:creator>
      <dc:date>2001-03-26T19:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: restrict user to go to command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509543#M894144</link>
      <description>What if you define your menu application as their login shell?  This way you don't need to worry about signal trapping -- they have no shells to fall back into.&lt;BR /&gt;&lt;BR /&gt;Look at /etc/profile, the very beginning and the last line.  It tells you how to trap signals.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Mar 2001 21:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509543#M894144</guid>
      <dc:creator>Felix J. Liu</dc:creator>
      <dc:date>2001-03-26T21:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: restrict user to go to command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509544#M894145</link>
      <description>When you use "exit" in a script you should tell the parents about the Exit Status.&lt;BR /&gt;&lt;BR /&gt;There are basically two exit statuses that &lt;BR /&gt;are important:&lt;BR /&gt;&lt;BR /&gt;Zero -- everyting went as it should&lt;BR /&gt;Greater than zero  -- there was a problem&lt;BR /&gt;&lt;BR /&gt;In the menu, you should use "exit 0" at the &lt;BR /&gt;end to show that the exit was successful&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Mar 2001 18:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-user-to-go-to-command-line/m-p/2509544#M894145</guid>
      <dc:creator>David Peacock</dc:creator>
      <dc:date>2001-03-27T18:48:44Z</dc:date>
    </item>
  </channel>
</rss>

