<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254424#M887939</link>
    <description>Michael ,&lt;BR /&gt;on my hpux I use /usr/bin/ksh as root shell, and it works.&lt;BR /&gt; Sure I agree with you that /sbin/sh can be a better choiche but I neve had problem, even on hd failure, using such a shell.&lt;BR /&gt;&lt;BR /&gt;Peace, R.</description>
    <pubDate>Wed, 21 Apr 2004 02:23:22 GMT</pubDate>
    <dc:creator>Roberto Polli</dc:creator>
    <dc:date>2004-04-21T02:23:22Z</dc:date>
    <item>
      <title>login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254419#M887934</link>
      <description>I made some changes to /etc/passwd now I get error message as NO SHELL I was using root a/c&lt;BR /&gt;and I donot have any other a/c</description>
      <pubDate>Wed, 21 Apr 2004 01:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254419#M887934</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-04-21T01:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254420#M887935</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Did you change by accident the shell for the root user to /sbin/ksh instead of /sbin/sh ?&lt;BR /&gt;&lt;BR /&gt;If yes you need to reboot the system into single user mode and correct this.&lt;BR /&gt;&lt;BR /&gt;C.</description>
      <pubDate>Wed, 21 Apr 2004 01:23:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254420#M887935</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2004-04-21T01:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254421#M887936</link>
      <description>Hi,&lt;BR /&gt; You need to cold restart the system and boot through single user mode by using hpux -is on ISL prompt and copy back your old passwd file or add the entry /sbin/sh at the Shell entry in /etc/passwd file.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Apr 2004 01:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254421#M887936</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2004-04-21T01:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254422#M887937</link>
      <description>DO NOT REBOOT your system. You need to put the entry back. The entry *must* read as /sbin/sh as the shell. Nothing else will work.</description>
      <pubDate>Wed, 21 Apr 2004 01:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254422#M887937</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-04-21T01:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254423#M887938</link>
      <description>U have changed the root user's shell;&lt;BR /&gt;&lt;BR /&gt;Undo the changes and put it back as it was&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 21 Apr 2004 01:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254423#M887938</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-04-21T01:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254424#M887939</link>
      <description>Michael ,&lt;BR /&gt;on my hpux I use /usr/bin/ksh as root shell, and it works.&lt;BR /&gt; Sure I agree with you that /sbin/sh can be a better choiche but I neve had problem, even on hd failure, using such a shell.&lt;BR /&gt;&lt;BR /&gt;Peace, R.</description>
      <pubDate>Wed, 21 Apr 2004 02:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254424#M887939</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-04-21T02:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254425#M887940</link>
      <description>DO NOT USE /usr/... as a shell !!!&lt;BR /&gt;&lt;BR /&gt;You won't be able to boot in LVM maintenance mode. If you want to use a /usr/... program as a shell for root, put something like this in his .profile:&lt;BR /&gt;[ -x /usr/bin/ksh ] &amp;amp;&amp;amp; exec /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;That way, if /usr is not (yet) mounted, you have at least a working root account.&lt;BR /&gt;&lt;BR /&gt;As for the problem itself: it might be a change to the shell of the user that is caused by putting a colon (:) extra on or removing a colon from a line... Make sure the first line looks right, having the right number of colons. And of course a correct executable shell.</description>
      <pubDate>Wed, 21 Apr 2004 02:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254425#M887940</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-04-21T02:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254426#M887941</link>
      <description>Hi Yatin,&lt;BR /&gt;&lt;BR /&gt;It is a bad practice to edit /etc/passwd if u r a novice. Just change the shell to /sbin/sh by editing /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;Roberto any shell will work but the thing is it should exist.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 21 Apr 2004 05:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254426#M887941</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2004-04-21T05:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254427#M887942</link>
      <description>Hi Yatin,What I uderstand is you are not able to login to system at all so there is no question of changing anything unless you log into the system.&lt;BR /&gt;Try rebooting system in single user mode and make shell chnages to passwd file for root user.</description>
      <pubDate>Wed, 21 Apr 2004 15:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254427#M887942</guid>
      <dc:creator>SS_6</dc:creator>
      <dc:date>2004-04-21T15:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254428#M887943</link>
      <description>Roberto, I assure you that you did not change root's shell (Here I am assuming that root is UID 0) and boot sucessfully. First of all, /usr would not even be mounted at boot. Now you might have done an exec /usr/bin/ksh in root's .profile but that is different. The fundmental problem is that a statically linked version of the shell must be available for the times before the other filesystems are mounted. /sbin/sh is a fully functional version of the POSIX shell; /usr/bin/sh is a dynamically linked version of the same shell and it used by other users to save memory.&lt;BR /&gt;&lt;BR /&gt;It would be possible to create a statically linked version of ksh or bash and make an entry in /etc/shells and install them in /sbin.&lt;BR /&gt;&lt;BR /&gt;Most people do this out of the mistaken belief the /sbin/sh is a Bourne shell; it is instead a fully functional POSIX shell which is for all intents and purposes a Korn shell. &lt;BR /&gt;</description>
      <pubDate>Wed, 21 Apr 2004 16:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254428#M887943</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-21T16:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254429#M887944</link>
      <description>Goto /etc/default/passwd copy this default login file to /etc/passwd and change passwd for root.&lt;BR /&gt;&lt;BR /&gt;This will enable the correct shell as built by HP&lt;BR /&gt;&lt;BR /&gt;PS.&lt;BR /&gt;Create another account with root privs&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 21 Apr 2004 18:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254429#M887944</guid>
      <dc:creator>Steve Lynn</dc:creator>
      <dc:date>2004-04-21T18:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254430#M887945</link>
      <description>You can use sam if you are a novice and then go look at the sam logs to see what commands it ran. You could also compare an old copy to the new in additoin to your reading of the man pages.  Before editing the password file in the future you may want to consider cp /etc/passwd /etc/passwd.old just in case.  This is a good practice whenever editing almost any kind of file.</description>
      <pubDate>Wed, 21 Apr 2004 19:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3254430#M887945</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2004-04-21T19:48:24Z</dc:date>
    </item>
  </channel>
</rss>

