<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725203#M945720</link>
    <description>You do not have root permissions on any NFS mountpoint as it would be a serious security risk. Also, 777 is a big red flag: setting 777 on any directory means that anyone can destroy the contents of that directory. My guess is that even if 777 was set on this directory by the server's administrator, it would not solve the user's problems.  NFS carries a lot of restrictions and is not just a simple filesystem from another computer.&lt;BR /&gt;&lt;BR /&gt;It is possible to export root permissions to your system--see man exports, but I would not recommend it.</description>
    <pubDate>Thu, 16 May 2002 10:52:31 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2002-05-16T10:52:31Z</dc:date>
    <item>
      <title>su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725196#M945713</link>
      <description>HI &lt;BR /&gt;I've tried using the command :&lt;BR /&gt;#su - &lt;BR /&gt;to become a superuser. I do have root access to all machines. &lt;BR /&gt;&lt;BR /&gt;I then tried modifying the permission settings of an active user's home directory, but it still printed :&lt;BR /&gt;chmod:joe :Operation not permitted&lt;BR /&gt;&lt;BR /&gt;How do I overcome this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 16 May 2002 08:28:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725196#M945713</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2002-05-16T08:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725197#M945714</link>
      <description>Hi,&lt;BR /&gt;I'm not quite clear about your question&lt;BR /&gt;If you do a grep on /etc/passwd, your user has userid 0 ?&lt;BR /&gt;#who am i &lt;BR /&gt;returns "root" before you do the chmod ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Thu, 16 May 2002 08:33:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725197#M945714</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-05-16T08:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725198#M945715</link>
      <description>try chown ?&lt;BR /&gt;&lt;BR /&gt;ie:&lt;BR /&gt;&lt;BR /&gt;chmod o+r file_or_dir&lt;BR /&gt;chown joe:users file_or_dir&lt;BR /&gt;&lt;BR /&gt;verify your user:&lt;BR /&gt;after su -&lt;BR /&gt;&lt;BR /&gt;id&lt;BR /&gt;who am i&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 16 May 2002 08:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725198#M945715</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-05-16T08:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725199#M945716</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;is it NFS&lt;BR /&gt;&lt;BR /&gt;Then you need to do this on the system which owns the home directories&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                    Steve Steel</description>
      <pubDate>Thu, 16 May 2002 08:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725199#M945716</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-05-16T08:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725200#M945717</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this sounds like this users home is on a mounted filesystem. If this is not exported with the root option to the workstation you are on you get this message.&lt;BR /&gt;&lt;BR /&gt;You have to log into the machine which exports this filesystem. Do your modificatons there. Alternatively you can chane the options in /etc/exports to give root access to the workstation you are on.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Thu, 16 May 2002 09:02:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725200#M945717</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2002-05-16T09:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725201#M945718</link>
      <description>Tom, Bill &amp;amp; Steve,&lt;BR /&gt;&lt;BR /&gt;I'm actually trying change a current user's home dir permissions from 755 to 777. It's residing on NFS. I tried :&lt;BR /&gt;chmod o+r joe&lt;BR /&gt;&lt;BR /&gt;but it still produced a "Operation not Permitted" error msg. &lt;BR /&gt;I do not wish to change the owner as what Bill had suggested doing by using chown joe.&lt;BR /&gt;&lt;BR /&gt;I had just tried with the following, and it worked! i.e:&lt;BR /&gt;#rlogin machine&lt;BR /&gt;#sudo su  &lt;BR /&gt;&lt;BR /&gt;By doing sudo su, I already have superuser access to all files/dirs.&lt;BR /&gt;&lt;BR /&gt;I also did:&lt;BR /&gt;#sudo su - joe&lt;BR /&gt;&lt;BR /&gt;and entered into joe's home dir with root priviliges.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 May 2002 09:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725201#M945718</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2002-05-16T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725202#M945719</link>
      <description>Root permissions do not carry well across NFS.  You should always log into the machine that you want to change, physically or via rlogin.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 16 May 2002 10:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725202#M945719</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-05-16T10:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725203#M945720</link>
      <description>You do not have root permissions on any NFS mountpoint as it would be a serious security risk. Also, 777 is a big red flag: setting 777 on any directory means that anyone can destroy the contents of that directory. My guess is that even if 777 was set on this directory by the server's administrator, it would not solve the user's problems.  NFS carries a lot of restrictions and is not just a simple filesystem from another computer.&lt;BR /&gt;&lt;BR /&gt;It is possible to export root permissions to your system--see man exports, but I would not recommend it.</description>
      <pubDate>Thu, 16 May 2002 10:52:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su/m-p/2725203#M945720</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-05-16T10:52:31Z</dc:date>
    </item>
  </channel>
</rss>

