<?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: Modem Security in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648419#M756337</link>
    <description>Example :-&lt;BR /&gt;&lt;BR /&gt;1) Edit /etc/d_passwd to look something like this list:   &lt;BR /&gt;shell1::comment &lt;BR /&gt;shell2::comment&lt;BR /&gt;/usr/bin/sh:&lt;ENCRYPTED&gt;:comment  &lt;BR /&gt;Note: Remember, shell1 to 3 is dummy shell. I am assuming you've got  the first part done (ie set up /usr/bin/sh line with password)&lt;BR /&gt;&lt;BR /&gt;2) Run ..&lt;BR /&gt;# passwd -F /etc/d_passwd shell1&lt;BR /&gt;# passwd -F /etc/d_passwd shell2   &lt;BR /&gt;&lt;BR /&gt;3) Create links for the users to their shells:   &lt;BR /&gt;# ln -s /usr/bin/sh /usr/bin/uss1&lt;BR /&gt;# ln -s /usr/bin/sh /usr/bin/uss2&lt;BR /&gt;&lt;BR /&gt;4) Edit the /etc/passwd and /etc/d_passwd files so that the shell is listed with the new links:&lt;BR /&gt;# vi /etc/passwd&lt;BR /&gt;dialup1:&lt;ENCRYPTED&gt;:111:20:comment,,,:/home/dialup1:/usr/bin/uss1&lt;BR /&gt;dialup2:&lt;ENCRYPTED&gt;:112:20:comment,,,:/home/dialup2:/usr/bin/uss2&lt;BR /&gt;# vi /etc/d_passwd&lt;BR /&gt;/usr/bin/uss1:&lt;ENCRYPTED&gt;:comment&lt;BR /&gt;/usr/bin/uss2:&lt;ENCRYPTED&gt;:comment&lt;BR /&gt;/usr/bin/sh:&lt;ENCRYPTED&gt;:comment&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;</description>
    <pubDate>Sat, 19 Jan 2002 00:35:34 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-01-19T00:35:34Z</dc:date>
    <item>
      <title>Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648407#M756325</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I would like to configure a modem for dial-in on D box with 10.20. This is a trusted system and I would like to configure modem with security feature. &lt;BR /&gt;&lt;BR /&gt;The most of the docs on this site explains about /etc/d_passwd and /etc/dialups. &lt;BR /&gt;But both the files are not present in this directory. I tried creating d_passwd file passwd -F /etc/d_passwd /usr/bin/ksh without any sucess&lt;BR /&gt;A step by step help would be highly appriciated. Also let me know if there is any other security features available for modem.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Fri, 18 Jan 2002 16:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648407#M756325</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-01-18T16:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648408#M756326</link>
      <description>To add a single dialup password for any port listed in the /etc/dialups file, perform the following steps:&lt;BR /&gt;&lt;BR /&gt;1. Edit /etc/dialups to add a list of dialin ports for which you want to have a dialup password.  For example:&lt;BR /&gt;&lt;BR /&gt;/dev/ttyd0p7&lt;BR /&gt;/dev/ttyd0p1&lt;BR /&gt;&lt;BR /&gt;2. Edit /etc/d_passwd to look like:&lt;BR /&gt;&lt;BR /&gt;/usr/bin/sh::comment&lt;BR /&gt;&lt;BR /&gt;where the first field is the shell to be used, the second field is reserved for an encrypted password, and the third field is comment.&lt;BR /&gt;&lt;BR /&gt;3. Add the password to /etc/d_passwd using the following command:&lt;BR /&gt;&lt;BR /&gt;# passwd -F /etc/d_passwd /usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;This prompts for the password.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 16:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648408#M756326</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-18T16:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648409#M756327</link>
      <description>Chan,&lt;BR /&gt;&lt;BR /&gt;I've read this doc, The problem is I don't have these files in my /etc/ directory (d_passwd and dialups) Do I need to creat this file..? &lt;BR /&gt;&lt;BR /&gt;T tried creating d_passwd file and then executed  passwd -F option. (passwd -F /etc/d_passwd /bin/sh) I'm getting an error saying invalied login&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 17:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648409#M756327</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-01-18T17:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648410#M756328</link>
      <description>Yes you need to create /etc/dialups and /etc/d_passwd. These files should be owned by root:root and permission 600.&lt;BR /&gt;&lt;BR /&gt;I'm not sure if this would make a difference but try it anyway .. try using /usr/bin/sh in both the d_passwd file entry and the passwd command.</description>
      <pubDate>Fri, 18 Jan 2002 17:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648410#M756328</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-18T17:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648411#M756329</link>
      <description>&lt;BR /&gt;I created file d_passwd with touch command with 600 permissions.&lt;BR /&gt;and when I run passwd -F /etc/d_passwd /usr/bin/sh I get invalied login&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 19:39:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648411#M756329</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-01-18T19:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648412#M756330</link>
      <description>Try this...&lt;BR /&gt;&lt;BR /&gt;The problem lies in the length of the loginname.&lt;BR /&gt; &lt;BR /&gt;ANd there is a patch out that addresses this bug. If you don't have this patch then apply.&lt;BR /&gt;&lt;BR /&gt;PHCO_13734&lt;BR /&gt;&lt;BR /&gt;No reboot is required.&lt;BR /&gt;&lt;BR /&gt;Geno-HP</description>
      <pubDate>Fri, 18 Jan 2002 20:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648412#M756330</guid>
      <dc:creator>Geno Church</dc:creator>
      <dc:date>2002-01-18T20:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648413#M756331</link>
      <description>Pacth is already there.. Problem remains..</description>
      <pubDate>Fri, 18 Jan 2002 21:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648413#M756331</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-01-18T21:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648414#M756332</link>
      <description>Ok .. try this entry in /etc/d_passwd file instead. This is the "workable" passowrd entry format in HPUX11.x but you're running 10.20...so I'm not sure if this will work but at this point you got nothing to lose.&lt;BR /&gt;&lt;BR /&gt;/sbin/sh::0:0:comment::&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 21:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648414#M756332</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-18T21:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648415#M756333</link>
      <description>Sorry it should be ..&lt;BR /&gt;&lt;BR /&gt;/usr/bin/sh::0:0:comment:: &lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 21:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648415#M756333</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-18T21:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648416#M756334</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Tried that but when I use passwd -F /etc/d_passwd /usr/bin/sh &lt;BR /&gt;I get invalied login name&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 21:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648416#M756334</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-01-18T21:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648417#M756335</link>
      <description>This is what I found out ..&lt;BR /&gt;&lt;BR /&gt;Quote ..&lt;BR /&gt;The problem was introduced onto your system with the application of patch PHCO_10274 (superseeded by PHCO_13734).  One of the fixes in the patch was for a security problem.  In this fix, there was a check added for an 8 character username in /etc/passwd.  When dialup security is invoked, login requests an additional password, and checks it against that found in /etc/d_passwd.  The command name found in the ``program to use as shell'' field of /etc/passwd is used to select the password to be used.  With the SVR4 file system, it&lt;BR /&gt;now has path names to shells that exceed the 8 character limit.&lt;BR /&gt;&lt;BR /&gt;The workaround is to use a bogus "program to use as shell".&lt;BR /&gt;&lt;BR /&gt;In /etc/d_passwd you need something like:&lt;BR /&gt;&lt;BR /&gt;   shell::comment&lt;BR /&gt;&lt;BR /&gt;Then run passwd:&lt;BR /&gt;&lt;BR /&gt;   passwd -F /etc/d_passwd shell&lt;BR /&gt;&lt;BR /&gt;After the password has been changed, edit /etc/d_passwd to have the path to the real shell that you want to use.&lt;BR /&gt;Unquote ..&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 22:22:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648417#M756335</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-18T22:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648418#M756336</link>
      <description>Yes that worked.. But how do I add users in this d_passwd file..?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jan 2002 22:52:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648418#M756336</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-01-18T22:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648419#M756337</link>
      <description>Example :-&lt;BR /&gt;&lt;BR /&gt;1) Edit /etc/d_passwd to look something like this list:   &lt;BR /&gt;shell1::comment &lt;BR /&gt;shell2::comment&lt;BR /&gt;/usr/bin/sh:&lt;ENCRYPTED&gt;:comment  &lt;BR /&gt;Note: Remember, shell1 to 3 is dummy shell. I am assuming you've got  the first part done (ie set up /usr/bin/sh line with password)&lt;BR /&gt;&lt;BR /&gt;2) Run ..&lt;BR /&gt;# passwd -F /etc/d_passwd shell1&lt;BR /&gt;# passwd -F /etc/d_passwd shell2   &lt;BR /&gt;&lt;BR /&gt;3) Create links for the users to their shells:   &lt;BR /&gt;# ln -s /usr/bin/sh /usr/bin/uss1&lt;BR /&gt;# ln -s /usr/bin/sh /usr/bin/uss2&lt;BR /&gt;&lt;BR /&gt;4) Edit the /etc/passwd and /etc/d_passwd files so that the shell is listed with the new links:&lt;BR /&gt;# vi /etc/passwd&lt;BR /&gt;dialup1:&lt;ENCRYPTED&gt;:111:20:comment,,,:/home/dialup1:/usr/bin/uss1&lt;BR /&gt;dialup2:&lt;ENCRYPTED&gt;:112:20:comment,,,:/home/dialup2:/usr/bin/uss2&lt;BR /&gt;# vi /etc/d_passwd&lt;BR /&gt;/usr/bin/uss1:&lt;ENCRYPTED&gt;:comment&lt;BR /&gt;/usr/bin/uss2:&lt;ENCRYPTED&gt;:comment&lt;BR /&gt;/usr/bin/sh:&lt;ENCRYPTED&gt;:comment&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;&lt;/ENCRYPTED&gt;</description>
      <pubDate>Sat, 19 Jan 2002 00:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648419#M756337</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-19T00:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648420#M756338</link>
      <description>Why is that I get all garbage when I connect to remote box.?? What is the right cable  Modem is connected to serial port of D box (9 -pin) and to modem (25 pin)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Jan 2002 16:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648420#M756338</guid>
      <dc:creator>Rushank</dc:creator>
      <dc:date>2002-01-21T16:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Modem Security</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648421#M756339</link>
      <description>Rushank,&lt;BR /&gt;&lt;BR /&gt;Have you looked into dial-back modems?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://rr.sans.org/unix/sec_HPUX.php" target="_blank"&gt;http://rr.sans.org/unix/sec_HPUX.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 21 Jan 2002 16:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modem-security/m-p/2648421#M756339</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-21T16:11:49Z</dc:date>
    </item>
  </channel>
</rss>

