<?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 Security Info in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120166#M738533</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;We run our Apps shutdown script [e.g. boxB] from DB server [e.g boxA] before the backup script using remote login[rlogin/rsh] without password. As per security audit it's a risk as the remote login is without the password. I am wondering is there any way we can make more secure? We should be able to do the following&lt;BR /&gt;&lt;BR /&gt;1. Stop the application in boxB before the backup on BoxA&lt;BR /&gt;2. After backup completion start the application on BoxB&lt;BR /&gt;&lt;BR /&gt;I appreciate your help.&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;&lt;BR /&gt;Abhijit&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Dec 2007 19:11:12 GMT</pubDate>
    <dc:creator>Abhi123</dc:creator>
    <dc:date>2007-12-21T19:11:12Z</dc:date>
    <item>
      <title>Security Info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120166#M738533</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;We run our Apps shutdown script [e.g. boxB] from DB server [e.g boxA] before the backup script using remote login[rlogin/rsh] without password. As per security audit it's a risk as the remote login is without the password. I am wondering is there any way we can make more secure? We should be able to do the following&lt;BR /&gt;&lt;BR /&gt;1. Stop the application in boxB before the backup on BoxA&lt;BR /&gt;2. After backup completion start the application on BoxB&lt;BR /&gt;&lt;BR /&gt;I appreciate your help.&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;&lt;BR /&gt;Abhijit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Dec 2007 19:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120166#M738533</guid>
      <dc:creator>Abhi123</dc:creator>
      <dc:date>2007-12-21T19:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Security Info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120167#M738534</link>
      <description>hi abhijit ;&lt;BR /&gt;&lt;BR /&gt;i think you are using remsh , using ssh fÄ±r connection will make your connection more secure. &lt;BR /&gt;&lt;BR /&gt;Hasan&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Dec 2007 19:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120167#M738534</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2007-12-21T19:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Security Info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120168#M738535</link>
      <description>see the file attahced</description>
      <pubDate>Sun, 23 Dec 2007 00:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120168#M738535</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-12-23T00:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Security Info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120169#M738536</link>
      <description>ssh is a good first stap, to make it autitable you have to create a acount that is only useble to do just this...&lt;BR /&gt;so make sure that no other (personal) users are using this acounts, and to make sure that this user can not do anny thing els, you can use a restricted shell.&lt;BR /&gt;If you creat a shell that does the stop/start and than a exit, the user will never get a promt.....</description>
      <pubDate>Mon, 24 Dec 2007 08:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120169#M738536</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2007-12-24T08:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Security Info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120170#M738537</link>
      <description>Using ssh is normally considered more secure than using rlogin/remsh/rsh as *** it is more strict for checking the host you're coming from *** .&lt;BR /&gt;&lt;BR /&gt;In your environment with DB-server and Application servers, it is normal to grant the DB-server access to the AS's (and not the other way around) - in order to be able to do proper startup/shutdown for the entire Application.&lt;BR /&gt;&lt;BR /&gt;--- &lt;BR /&gt;Using ssh is very easy when you first have started using it. Availability depend on which UX release you have. You might need to download and install it separately.&lt;BR /&gt;&lt;BR /&gt;You should use the SSH commands ssh, scp, sftp instead of rsh, rcp, ftp.&lt;BR /&gt;&lt;BR /&gt;For login to the system you should forget telnet and rather use ssh. If you use a PC I can recommend the simple and easy Putty terminal emulator. Note that you normally tunnel X-display through the SSH connection - and this simplifies your DISPLAY setup.&lt;BR /&gt;(tunnel X using ssh: ssh -X user@host)&lt;BR /&gt;(tunnel X using Putty - separate config check value)&lt;BR /&gt;--- back to your question...&lt;BR /&gt;&lt;BR /&gt;Config SSH:&lt;BR /&gt;Let's say you have a DB-user named {sid}adm&lt;BR /&gt;&lt;BR /&gt;root@BoxA# su - {sid}adm&lt;BR /&gt;{sid}adm&amp;gt; ssh-keygen&lt;BR /&gt;Generating public/private rsa key pair.&lt;BR /&gt;Please be patient....   Key generation may take a few minutes&lt;BR /&gt;Enter file in which to save the key (/home/{sid}adm/.ssh/id_rsa):&lt;BR /&gt;Enter passphrase (empty for no passphrase):&lt;BR /&gt;Enter same passphrase again:&lt;BR /&gt;Your identification has been saved in /home/{sid}adm/.ssh/id_rsa.&lt;BR /&gt;Your public key has been saved in /home/{sid}adm/.ssh/id_rsa.pub.&lt;BR /&gt;The key fingerprint is:&lt;BR /&gt;15:7a:8e:c7:b7:3f:dd:c8:72:cb:b8:3f:ea:22:2b:85 {sid}adm@BoxA&lt;BR /&gt;{sid}adm&amp;gt; # backup copy of public key&lt;BR /&gt;{sid}adm&amp;gt; cp -p id_rsa.pub id{sid}adm.pub&lt;BR /&gt;{sid}adm&amp;gt; # backup copy of private key&lt;BR /&gt;{sid}adm&amp;gt; cp -p id_rsa id{sid}adm-privkey&lt;BR /&gt;NB! Do not enter a passphrase - as this would lead to a prompt for password.&lt;BR /&gt;The reason for backup copy - is to avoid being enforced to distribute new keys if someone should run ssh-keygen by mistake and overwrite your keys...&lt;BR /&gt;&lt;BR /&gt;The ~/.ssh/id_rsa is the Private key for your {sid}adm user (and should be secured - default permission 600)&lt;BR /&gt;The id_rsa.pub is the Public part of this keypair, and is the key you must copy to BoxB. A host can use this key to verify that you are really {sid}adm from BoxA.&lt;BR /&gt;&lt;BR /&gt;Configuring BoxB:&lt;BR /&gt;1)install SSH if not already present)&lt;BR /&gt;&lt;BR /&gt;(nb! user can be any user you want to grant {sid}adm@BoxA access to without password)&lt;BR /&gt;user@BoxB&amp;gt; cd ~/.ssh/&lt;BR /&gt;user@BoxB&amp;gt; scp {sid}adm@BoxA:~/.ssh/id_rsa.pub ./id_{sid}adm_BoxA&lt;BR /&gt;user@BoxB&amp;gt; cat ./id_{sid}adm_BoxA &amp;gt;&amp;gt; ./authorized_keys&lt;BR /&gt;(nb! sometimes the file is named authorised_keys2)&lt;BR /&gt;&lt;BR /&gt;Now you should be able to make a connection from {sid}adm@BoxA to user@BoxB&lt;BR /&gt;Try: &lt;BR /&gt;{sid}adm@BoxA&amp;gt; ssh user@BoxB ll&lt;BR /&gt;&lt;BR /&gt;Check the syslog if you get errors.&lt;BR /&gt;Read manpages and documentation for defining security-levels for SSH. &lt;BR /&gt;&lt;BR /&gt;---- Also keep in mind ----&lt;BR /&gt;If you run your DB-server in MC/SG cluster, you might need to generate a key (ssh-keygen) for each node, and add each of these keys to the user@BoxB's authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;Have a nice Christmas and a Happy New (secured) Year :-)&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Mon, 24 Dec 2007 13:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120170#M738537</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2007-12-24T13:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Security Info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120171#M738538</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;I really appreciate for all the suggestion.&lt;BR /&gt;&lt;BR /&gt;I will work on the ssh[public/private key] which looks to me more secure than what we have now.&lt;BR /&gt;&lt;BR /&gt;Thank you once again and wish a happy new year to you and your family.&lt;BR /&gt;&lt;BR /&gt;With warm regards,&lt;BR /&gt;&lt;BR /&gt;Abhijit</description>
      <pubDate>Thu, 27 Dec 2007 17:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-info/m-p/4120171#M738538</guid>
      <dc:creator>Abhi123</dc:creator>
      <dc:date>2007-12-27T17:15:28Z</dc:date>
    </item>
  </channel>
</rss>

