<?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 Unable to su to root user , in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879501#M25550</link>
    <description>I have change all file permission under /etc to 777 , now can't su to root user , can advise what can i do ? thx&lt;BR /&gt;&lt;BR /&gt;su: cannot set groups: Operation not permitted</description>
    <pubDate>Thu, 12 Oct 2006 23:17:30 GMT</pubDate>
    <dc:creator>hangyu</dc:creator>
    <dc:date>2006-10-12T23:17:30Z</dc:date>
    <item>
      <title>Unable to su to root user ,</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879501#M25550</link>
      <description>I have change all file permission under /etc to 777 , now can't su to root user , can advise what can i do ? thx&lt;BR /&gt;&lt;BR /&gt;su: cannot set groups: Operation not permitted</description>
      <pubDate>Thu, 12 Oct 2006 23:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879501#M25550</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2006-10-12T23:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to su to root user ,</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879502#M25551</link>
      <description>You've probably removed the SUID permission bit from the su command, so it can no longer change an user's identity.&lt;BR /&gt;&lt;BR /&gt;First, try to log in as root from the console. This is probably your only chance to be able to recover from this without downtime.&lt;BR /&gt;&lt;BR /&gt;If that does not help, it would probably be easiest to restore from a Ignite back-up, if you have one. Other options require more manual effort.&lt;BR /&gt;&lt;BR /&gt;Another option would be to boot into a single-user mode and then restore the permissions. &lt;BR /&gt;&lt;BR /&gt;If that does not work, boot from the installation CD-ROM/DVD and run a recovery shell.&lt;BR /&gt;&lt;BR /&gt;Go to itrc.hp.com -&amp;gt; Navigate Knowledge Trees -&amp;gt; HP-UX Software Recovery Handbook. Read at least chapter 4.</description>
      <pubDate>Fri, 13 Oct 2006 01:46:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879502#M25551</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-10-13T01:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to su to root user ,</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879503#M25552</link>
      <description>Oops, HP-UX answer to Linux question. &lt;BR /&gt;&lt;BR /&gt;Let me try again.&lt;BR /&gt;&lt;BR /&gt;Try logging in as root from the console: if it works, check permissions from another host with same Linux version and fix manually. You might want to "chmod 644 /etc/passwd /etc/group" and "chmod 640 /etc/shadow" as soon as possible.&lt;BR /&gt;&lt;BR /&gt;If logging in as root from console does not work, reboot from installation media and select "rescue mode". You can also use Knoppix or any other Live-CD Linux distribution as a rescue tool.&lt;BR /&gt;&lt;BR /&gt;If you have an up-to-date backup, you might want to get a verbose directory listing ("ls -l" style) from the latest backup and use that as a guide to correct permissions.&lt;BR /&gt;&lt;BR /&gt;You may have to make all users change their passwords: anybody with an user account on this host could have made a copy of /etc/shadow and /etc/passwd and might now be trying to crack the password hashes. If you cannot be sure this has not happened, all the password must be regarded as compromised.</description>
      <pubDate>Fri, 13 Oct 2006 02:52:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879503#M25552</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-10-13T02:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to su to root user ,</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879504#M25553</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You need to see if you have following permission on su, passwd and shadow:&lt;BR /&gt;-rwsr-xr-x  1 root root  53024 Jun 20  2005 su&lt;BR /&gt;-rw-r--r--  1 root root 1768 Oct 11 16:28 /etc/passwd&lt;BR /&gt;&lt;BR /&gt;-r--------  1 root root 1138 Oct 11 16:28 /etc/shadow&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Fri, 13 Oct 2006 03:53:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-su-to-root-user/m-p/3879504#M25553</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-10-13T03:53:53Z</dc:date>
    </item>
  </channel>
</rss>

