<?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: Login &amp;quot;login incorrect&amp;quot; w/ no oppertunity for password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543753#M223785</link>
    <description>"now", not "not" working.  Sorry.</description>
    <pubDate>Thu, 19 May 2005 12:43:09 GMT</pubDate>
    <dc:creator>Toby Ragsdale</dc:creator>
    <dc:date>2005-05-19T12:43:09Z</dc:date>
    <item>
      <title>Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543739#M223771</link>
      <description>I recently purchased a A400 to match my production box as a test system.  I was in the process of setting the test environment to match production, when I made what seems like a mistake.  I did a "chmod 777 -R *" on /usr, and received several errors.  Now, I can't login to the box with any id.  I don't even get chance to enter a password before it replys with "login incorrect"&lt;BR /&gt;&lt;BR /&gt;Starting over is a possiblity, but I would like to correct the problem without a rebuild.&lt;BR /&gt;&lt;BR /&gt;Any thoughts suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;TBR</description>
      <pubDate>Thu, 12 May 2005 16:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543739#M223771</guid>
      <dc:creator>Toby Ragsdale</dc:creator>
      <dc:date>2005-05-12T16:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543740#M223772</link>
      <description>.&lt;BR /&gt;Sorry, should have added that I can get to a prompt in single user mode, I just dont know what to change back, fix, whatever I might have done to /usr&lt;BR /&gt;&lt;BR /&gt;TBR</description>
      <pubDate>Thu, 12 May 2005 16:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543740#M223772</guid>
      <dc:creator>Toby Ragsdale</dc:creator>
      <dc:date>2005-05-12T16:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543741#M223773</link>
      <description>If you have a backup of /usr from your production server ( may be a ignite tape??) just restore /usr &lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Thu, 12 May 2005 16:55:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543741#M223773</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2005-05-12T16:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543742#M223774</link>
      <description>Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I can get /usr from the production box.  Could I just FTP it from procution--&amp;gt;test?  I don't want to cause any problems on the production server.&lt;BR /&gt;&lt;BR /&gt;Thoughts?&lt;BR /&gt;</description>
      <pubDate>Thu, 12 May 2005 17:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543742#M223774</guid>
      <dc:creator>Toby Ragsdale</dc:creator>
      <dc:date>2005-05-12T17:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543743#M223775</link>
      <description>Can you run rcp? That  will be better choice for now. &lt;BR /&gt;&lt;BR /&gt;rcp -p will preserve file permissions.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Thu, 12 May 2005 17:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543743#M223775</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2005-05-12T17:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543744#M223776</link>
      <description>Well... I cant login with FTP, I would bet same with rcp, so I will try from tape.&lt;BR /&gt;&lt;BR /&gt;Let you all know the results.&lt;BR /&gt;&lt;BR /&gt;Any ideas of why chmod would do this?  Was it something else?&lt;BR /&gt;</description>
      <pubDate>Thu, 12 May 2005 18:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543744#M223776</guid>
      <dc:creator>Toby Ragsdale</dc:creator>
      <dc:date>2005-05-12T18:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543745#M223777</link>
      <description>If you have been doing make_tape_recovery backups, now would be a good time to boot off the tape and restore the system.&lt;BR /&gt;&lt;BR /&gt;You could also risk removing all files in /usr and extracting the files off of a recent backup or the production system.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 12 May 2005 21:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543745#M223777</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-12T21:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543746#M223778</link>
      <description>chmod -R is one of the 4 MOST DANGEROUS commands in Unix. The other 3 are: mv, cp -r, and rm -r. There are more than 4,000 files and 1,600, all of which now have bad permissions. You have to change *all* of them back and if you check your production server, you'll a wide variety of values--they are set that way for a reason.&lt;BR /&gt; &lt;BR /&gt;As a rule, 777 should *NEVER* be used for anything!!! New sysadmins often see the permission denied message and (very poor) Unix books will recommend this permission. Here are some issues with 777:&lt;BR /&gt; &lt;BR /&gt;1. Because there is 7 for all other users on the syetem, every file can be trashed by any user and any directory can have it's contents destroyed, accidently or on purpose.&lt;BR /&gt; &lt;BR /&gt;2. There are several special bit settings (1000, 2000 and 4000) which are critical for certain programs to run, not the least of which is login and passwd. The 777 setting wiped out these bits which is why you can never login again.&lt;BR /&gt; &lt;BR /&gt;Permission denied should be dealt with on a specific file or directory, but changed only when there is a good reason. If tghe change was to make other users into sysadmins, read carefully the HP-UX Security book and many similar posts here in the ITRC about 'helping' the HP settings on system files and directories.&lt;BR /&gt; &lt;BR /&gt;As fas as getting things back to normal, if you've a couple of free days, you can change each file and directory one by one, using the production system as a guide. As mentioned, restorin /usr from another server may cause even more problems. That's because /usr/lib and many system-dependent files are present in /usr and it's likely there are different patches on each system. ftp and rcp won't work because they won't run or they won't authenticate.&lt;BR /&gt; &lt;BR /&gt;If you regularly made an Ignite tape backup of the new system, you can indeed restore your system. Otherwise, re-install from scratch.</description>
      <pubDate>Thu, 12 May 2005 22:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543746#M223778</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-12T22:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543747#M223779</link>
      <description>OK, no use with anything other than tape or cd.  Can someone tell me how to restore /usr from the restore cd?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;TBR</description>
      <pubDate>Tue, 17 May 2005 11:28:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543747#M223779</guid>
      <dc:creator>Toby Ragsdale</dc:creator>
      <dc:date>2005-05-17T11:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543748#M223780</link>
      <description>Toby,&lt;BR /&gt;&lt;BR /&gt;I don't believe you can restore just /usr from the install CD.  Your best bet at this point would be to re-install.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 17 May 2005 11:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543748#M223780</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-17T11:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543749#M223781</link>
      <description>As mentioned, directories and file in /usr have customized data (from patches) and many executables and libraries depend on other files in other directories (like /opt or /etc or /var). So if you restore from a source that that does not have matching patches installed, you'll find strange problems starting to show up. You could be lucky but most likely you'll spend weeks troubleshooting problems.&lt;BR /&gt; &lt;BR /&gt;Since this is a test box, you will save massive amounts of time by making an Ignite/UX backup of the production box and restoring it to the test box. Just change the hostname and IP address after installing the Ignite backup and you're 100% in sync (including patches and settings) with the production box.</description>
      <pubDate>Tue, 17 May 2005 11:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543749#M223781</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-17T11:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543750#M223782</link>
      <description>Hi&lt;BR /&gt;To start by doing a chmod 777 on /usr you have modified the permission of /usr/bin/login which should be &lt;BR /&gt;-r-sr-xr-x   1 root       bin          53248 Sep 13  2002 /usr/bin/login&lt;BR /&gt;Noticed the SUID?...&lt;BR /&gt;&lt;BR /&gt;Setting this correctly should solve the logging issue...&lt;BR /&gt;&lt;BR /&gt;As for the rest, I would think of using ignite in order to have an identical box if the idea were to match the production&lt;BR /&gt;(seems the fastest way to go...)&lt;BR /&gt;My 2 cents&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 17 May 2005 12:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543750#M223782</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-05-17T12:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543751#M223783</link>
      <description>Hi,&lt;BR /&gt;Now the best option would be to anaylse the entire /usr structure and keep changing persimission of all file. Thought it is painfull it is the only safest and reliable way to come out of this problem,&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2005 15:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543751#M223783</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-05-17T15:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543752#M223784</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;Thanks to everyone.&lt;BR /&gt;&lt;BR /&gt;As this endeavor was a learning experience, as well as a practical addition to my network, I consider the outcome a success.  I tried each of your suggestions, and through this have a much better grip on how to recover from trouble situations in the future while the pressure was off.  To repair the problem, I did end up reinstalling from scratch, but the suggested solutions lead me through recovery paths I would not have started down otherwise.&lt;BR /&gt;&lt;BR /&gt;The box is not working perfictlet in its roll as a test/backup server for my production server.  I feel much better knowing its there.&lt;BR /&gt;&lt;BR /&gt;TBR</description>
      <pubDate>Thu, 19 May 2005 12:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543752#M223784</guid>
      <dc:creator>Toby Ragsdale</dc:creator>
      <dc:date>2005-05-19T12:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Login "login incorrect" w/ no oppertunity for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543753#M223785</link>
      <description>"now", not "not" working.  Sorry.</description>
      <pubDate>Thu, 19 May 2005 12:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-quot-login-incorrect-quot-w-no-oppertunity-for-password/m-p/3543753#M223785</guid>
      <dc:creator>Toby Ragsdale</dc:creator>
      <dc:date>2005-05-19T12:43:09Z</dc:date>
    </item>
  </channel>
</rss>

