<?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: Trusted Systems and SSH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065774#M139641</link>
    <description>I would implement Bill's suggestion as follows:&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/getprpw &amp;gt; /tmp/expirelist.dat&lt;BR /&gt;&lt;BR /&gt;in .profile&lt;BR /&gt;&lt;BR /&gt;$EXPIRE=$(cat /tmp/expirelist.dat | grep -i $LOGNAME| wc -l)&lt;BR /&gt;&lt;BR /&gt;if [ $EXPIRE -ge 1] &lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Read the /tmp/expire.dat file in detail and echo days to expiration&lt;BR /&gt;&lt;BR /&gt;echo "You password expires in X days do you want to change it(y/n)?"&lt;BR /&gt;&lt;BR /&gt;read a&lt;BR /&gt;&lt;BR /&gt;if [ "$a" = "y" ]&lt;BR /&gt;passwd&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Bill's idea creates good material to work with. I was stumped before he posted.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;#</description>
    <pubDate>Mon, 08 Sep 2003 14:00:18 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-09-08T14:00:18Z</dc:date>
    <item>
      <title>Trusted Systems and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065772#M139639</link>
      <description>Am deploying WRQ's Reflection Suite for X Version 10 so users can connect via X11 to HP-UX 11.00 system with HP Secure Shell 3.50.&lt;BR /&gt;&lt;BR /&gt;Connections are fine.  Problem arises when login messages are sent.  Users are not seeing messages that "their password will expire in 10 days", " You are required to change your password"  This only happens when X11 connections are made.&lt;BR /&gt;&lt;BR /&gt;Before disabling telnet and ftp, this has to be resolved.  Has anyone seen a similar problem?</description>
      <pubDate>Mon, 08 Sep 2003 12:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065772#M139639</guid>
      <dc:creator>corkbuster</dc:creator>
      <dc:date>2003-09-08T12:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Trusted Systems and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065773#M139640</link>
      <description>SSH is not telnet so some of the 'normal' login messages may not be seen. You can use /usr/lbin/getprpw daily to create a file with usernames and expiration days. Then /etc/profile can be modified to search through this file for the current user and produce the expiration message.</description>
      <pubDate>Mon, 08 Sep 2003 13:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065773#M139640</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-09-08T13:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trusted Systems and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065774#M139641</link>
      <description>I would implement Bill's suggestion as follows:&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/getprpw &amp;gt; /tmp/expirelist.dat&lt;BR /&gt;&lt;BR /&gt;in .profile&lt;BR /&gt;&lt;BR /&gt;$EXPIRE=$(cat /tmp/expirelist.dat | grep -i $LOGNAME| wc -l)&lt;BR /&gt;&lt;BR /&gt;if [ $EXPIRE -ge 1] &lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Read the /tmp/expire.dat file in detail and echo days to expiration&lt;BR /&gt;&lt;BR /&gt;echo "You password expires in X days do you want to change it(y/n)?"&lt;BR /&gt;&lt;BR /&gt;read a&lt;BR /&gt;&lt;BR /&gt;if [ "$a" = "y" ]&lt;BR /&gt;passwd&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Bill's idea creates good material to work with. I was stumped before he posted.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;#</description>
      <pubDate>Mon, 08 Sep 2003 14:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065774#M139641</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-08T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trusted Systems and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065775#M139642</link>
      <description>Thank you, we were barking up the same tree, just needed a little syntax nudge.&lt;BR /&gt;&lt;BR /&gt;The limitations of ssh connections, is becoming clearer.&lt;BR /&gt;1. login messages as described above are not seen when using X11 connections via SSH, but are seen when using  SSH alone.&lt;BR /&gt;&lt;BR /&gt;2. If an account requires a password change before continuing, or the account is locked, the SSH connection terminates without any reason shown the user.  &lt;BR /&gt;&lt;BR /&gt;Thanks for all your help</description>
      <pubDate>Mon, 08 Sep 2003 14:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065775#M139642</guid>
      <dc:creator>corkbuster</dc:creator>
      <dc:date>2003-09-08T14:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Trusted Systems and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065776#M139643</link>
      <description>Just a note about X11.  It is VERY common for Xwindow configurations to bypass 'normal' logins. This is especially true for the 3 terminal emulators: dtterm, xterm and dtterm. This is easily fixed by placing a file called .Xdefaults in the HOME directory of the 11.0 server. Put the following string into it:&lt;BR /&gt;&lt;BR /&gt;echo '*loginShell: true' &amp;gt; $HOME/.Xdefaults&lt;BR /&gt;&lt;BR /&gt;This will set the default behavior for the terminal emulators to actually login and run /etc/profile, etc. You can add other Xresources to this file (see the man page for each client like dtterm)</description>
      <pubDate>Mon, 08 Sep 2003 21:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065776#M139643</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-09-08T21:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trusted Systems and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065777#M139644</link>
      <description>we had the same problem with account expiries. we hadled it the following way.&lt;BR /&gt;&lt;BR /&gt;disable expiry on all accounts. load pam_ntlm and let the users authenticate with their very same passwords they use on the NT domain. The NT domain can handle the expiry and everything.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Tue, 09 Sep 2003 09:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trusted-systems-and-ssh/m-p/3065777#M139644</guid>
      <dc:creator>John de Villiers</dc:creator>
      <dc:date>2003-09-09T09:57:46Z</dc:date>
    </item>
  </channel>
</rss>

