<?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: nologin in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nologin/m-p/2802273#M82161</link>
    <description>Well, if you have the system "locked" down so that only root can login because you have a  /etc/nologin file and you have defined NOLOGIN in /etc/default/security, then the only action is to login as root!&lt;BR /&gt;&lt;BR /&gt;You could detect /etc/nologin yourself via /etc/profile and then allow only those users that have special access to login.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Mon, 09 Sep 2002 11:59:51 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-09-09T11:59:51Z</dc:date>
    <item>
      <title>nologin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nologin/m-p/2802272#M82160</link>
      <description>Hi,&lt;BR /&gt;i need to create a user who can log in only by su command. In other words there's must be another user, different from root, logged in.&lt;BR /&gt;Whith files /etc/nologin and /etc/default/security i lock access to all users different from root.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Bye&lt;BR /&gt;Luca</description>
      <pubDate>Mon, 09 Sep 2002 11:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nologin/m-p/2802272#M82160</guid>
      <dc:creator>Luca_11</dc:creator>
      <dc:date>2002-09-09T11:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: nologin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nologin/m-p/2802273#M82161</link>
      <description>Well, if you have the system "locked" down so that only root can login because you have a  /etc/nologin file and you have defined NOLOGIN in /etc/default/security, then the only action is to login as root!&lt;BR /&gt;&lt;BR /&gt;You could detect /etc/nologin yourself via /etc/profile and then allow only those users that have special access to login.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 09 Sep 2002 11:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nologin/m-p/2802273#M82161</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-09-09T11:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: nologin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nologin/m-p/2802274#M82162</link>
      <description>Luca,&lt;BR /&gt;Add this to the user's .profile:&lt;BR /&gt;# Prevent login. Force su.&lt;BR /&gt;name=`logname`&lt;BR /&gt;if [ $name = username ]&lt;BR /&gt;then&lt;BR /&gt;  echo $name No Login Allowed. Must su.&lt;BR /&gt;  exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This prevents the user from logging in directly, and reminds them to use su to gain access to the user account.&lt;BR /&gt;&lt;BR /&gt;Cheryl</description>
      <pubDate>Mon, 09 Sep 2002 12:03:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nologin/m-p/2802274#M82162</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-09-09T12:03:18Z</dc:date>
    </item>
  </channel>
</rss>

