<?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: su: No shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063828#M737072</link>
    <description>What is the version of your OS.&lt;BR /&gt;&lt;BR /&gt;Check the permissions of /usr/lib/hpux32/dld.so</description>
    <pubDate>Mon, 20 Aug 2007 04:13:59 GMT</pubDate>
    <dc:creator>Luk Vandenbussche</dc:creator>
    <dc:date>2007-08-20T04:13:59Z</dc:date>
    <item>
      <title>su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063826#M737070</link>
      <description>hi.&lt;BR /&gt;after this weekend we've found one of our itanium servers unaccessible. only root user can login to it.&lt;BR /&gt;'su' complains:&lt;BR /&gt;[cut]&lt;BR /&gt;(svback2)/&amp;gt;su - sergey&lt;BR /&gt;su: No shell&lt;BR /&gt;[cut]&lt;BR /&gt;/etc/passwd entry looks quite ok to me:&lt;BR /&gt;[cut]&lt;BR /&gt;(svback2)/&amp;gt;grep sergey /etc/passwd&lt;BR /&gt;sergey:xxxxxxxxxxx:108:20::/home/sergey:/usr/local/bin/bash&lt;BR /&gt;[cut]&lt;BR /&gt;i have truss output. there's couple of strange things in it. &lt;BR /&gt;1. chdir() syscal failed with EACCES, while &lt;BR /&gt;[cut]&lt;BR /&gt;(svback2)/&amp;gt;ll -d /home&lt;BR /&gt;dr-xr-xr-x  42 bin        bin           8192 Aug 16 11:02 /home&lt;BR /&gt;(svback2)/&amp;gt;ll -d /home/sergey&lt;BR /&gt;drwxr-xr-x  12 sergey     users         8192 Aug 17 11:40 /home/sergey&lt;BR /&gt;[cut]&lt;BR /&gt;and same strange thing with execve syscall.&lt;BR /&gt;(svback2)/&amp;gt;ll /usr/local/bin/bash&lt;BR /&gt;-rwxr-xr-x   1 root       sys        1552184 Aug  9  2006 /usr/local/bin/bash&lt;BR /&gt;(svback2)/&amp;gt;ll -d /usr/local/bin&lt;BR /&gt;dr-xr-xr-x   2 bin        bin           8192 Apr 27 15:39 /usr/local/bin&lt;BR /&gt;(svback2)/&amp;gt;ll -d /usr/local&lt;BR /&gt;dr-xr-xr-x  17 bin        bin           8192 Apr 27 15:29 /usr/local&lt;BR /&gt;(svback2)/&amp;gt;ll -d /usr&lt;BR /&gt;dr-xr-xr-x  22 bin        bin           8192 Jan 31  2007 /usr&lt;BR /&gt;[cut]&lt;BR /&gt;we've tried to reboot this server. it doesn't helped. but in /var/adm/rc.log one strange thing appeared, which wasn't there before:&lt;BR /&gt;[cut]&lt;BR /&gt;Clean UUCP&lt;BR /&gt;Output from "/sbin/rc2.d/S202clean_uucp start":&lt;BR /&gt;----------------------------&lt;BR /&gt;cleaning up uucp&lt;BR /&gt;/usr/lib/hpux32/uld.so: Unable to open '/usr/lib/hpux32/dld.so'.&lt;BR /&gt;/sbin/rc2.d/S202clean_uucp[42]: 721 Abort&lt;BR /&gt;ERROR CODE 134&lt;BR /&gt;"/sbin/rc2.d/S202clean_uucp start" FAILED&lt;BR /&gt;[cut]&lt;BR /&gt;uld.so and dld.so are OK and accessible (compared to alive system), their MD5 hashes matches.&lt;BR /&gt;i have no clue what heppend there. pls help.</description>
      <pubDate>Mon, 20 Aug 2007 03:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063826#M737070</guid>
      <dc:creator>-error</dc:creator>
      <dc:date>2007-08-20T03:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063827#M737071</link>
      <description>check the permissions it should be 755&lt;BR /&gt;drwxr-xr-x  45 root       root          8192 Aug 20 08:40 /</description>
      <pubDate>Mon, 20 Aug 2007 04:09:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063827#M737071</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2007-08-20T04:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063828#M737072</link>
      <description>What is the version of your OS.&lt;BR /&gt;&lt;BR /&gt;Check the permissions of /usr/lib/hpux32/dld.so</description>
      <pubDate>Mon, 20 Aug 2007 04:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063828#M737072</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2007-08-20T04:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063829#M737073</link>
      <description>hi -error,&lt;BR /&gt;&lt;BR /&gt;su no shell message:-&lt;BR /&gt;&lt;BR /&gt;The problem could be because of incorrect permissions and / or ownerships on the &lt;BR /&gt;root directory. It should be: &lt;BR /&gt;&lt;BR /&gt;# ll -d /     &lt;BR /&gt;drwxr-xr-x  31 root       root          5120 Mar 29 04:19 /   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WK</description>
      <pubDate>Mon, 20 Aug 2007 04:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063829#M737073</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-20T04:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063830#M737074</link>
      <description>thnks guys.&lt;BR /&gt;Awadhesh and whiteknight both were right. prmissions on / was 700. i changed 'em to 755 and and everything began to work again.&lt;BR /&gt;thanks a lot.</description>
      <pubDate>Mon, 20 Aug 2007 04:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063830#M737074</guid>
      <dc:creator>-error</dc:creator>
      <dc:date>2007-08-20T04:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: su: No shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063831#M737075</link>
      <description>&amp;gt;permissions on / was 700.&lt;BR /&gt;&lt;BR /&gt;Do you need to ask the meta question how it got that way?&lt;BR /&gt;I think "swverify \*" would catch other bad system directories.</description>
      <pubDate>Tue, 21 Aug 2007 00:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-no-shell/m-p/5063831#M737075</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-21T00:21:19Z</dc:date>
    </item>
  </channel>
</rss>

