<?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: sh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053632#M137142</link>
    <description>Don't change root's default shell, it causes serious problem!!</description>
    <pubDate>Thu, 21 Aug 2003 08:16:21 GMT</pubDate>
    <dc:creator>twang</dc:creator>
    <dc:date>2003-08-21T08:16:21Z</dc:date>
    <item>
      <title>sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053629#M137139</link>
      <description>What's the different between /usr/bin/sh and /sbin/sh ? Could it be possible to change t&lt;BR /&gt;the root shell to /usr/bin/sh since I view the /etc/passwd root belong to /sbin/sh ?</description>
      <pubDate>Thu, 21 Aug 2003 07:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053629#M137139</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-08-21T07:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053630#M137140</link>
      <description>root just have /sbin/sh because is the olny shell avaiable at boot with no lvol mounted.&lt;BR /&gt;&lt;BR /&gt;DO NOT CHANGE IT !!!!!&lt;BR /&gt;&lt;BR /&gt;  Massimo</description>
      <pubDate>Thu, 21 Aug 2003 07:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053630#M137140</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-21T07:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053631#M137141</link>
      <description>&lt;BR /&gt;Never change the /sbin/sh entry in /etc/passwd as your system will lose the ability to boot. The main reason is that /usr does not boot in single user mode. You can see the differences with the 'chatr' command.&lt;BR /&gt;&lt;BR /&gt;This old posting explains more than I can type.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2efaa14d9abcd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2efaa14d9abcd4118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Thu, 21 Aug 2003 08:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053631#M137141</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-08-21T08:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053632#M137142</link>
      <description>Don't change root's default shell, it causes serious problem!!</description>
      <pubDate>Thu, 21 Aug 2003 08:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053632#M137142</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-08-21T08:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053633#M137143</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Quote Bill Hassel&lt;BR /&gt;&lt;BR /&gt;subject: incorrectly edited the default shell for root user and now system has halted! &lt;BR /&gt;&lt;BR /&gt;As you have seen, changing root's shell is a very bad idea. bash (and ksh and csh, etc) use shared libraries that are located on /usr. However, in single user mode there are no mounted filesystems except / and /stand. Leave root as /sbin/sh (which like all POSIX shells is quite compatible with bash). It's important to never login as root unless you are doing some specific system administration.&lt;BR /&gt;&lt;BR /&gt;end quote&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Thu, 21 Aug 2003 08:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053633#M137143</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-08-21T08:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: sh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053634#M137144</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As the others said, removing it is really dangerous. And if by any chance your system hangs/ disks are not mounted, you can use /sbin commands to make system recovery to some extent. I will give you one example.&lt;BR /&gt;&lt;BR /&gt;Someone has renamed libdld.sl After this, no single command was working as this was the very basic library. not even ls and mv. Then rebooting the system in single user mode and using /sbin/mv for moving libdls.sl to original name made the system up. So, the contents of /sbin are very important and do not play with /sbin commands.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;VJ.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2003 09:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh/m-p/3053634#M137144</guid>
      <dc:creator>vasundhara</dc:creator>
      <dc:date>2003-08-22T09:20:16Z</dc:date>
    </item>
  </channel>
</rss>

