<?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: Problem with sudo on 11.23 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648933#M240243</link>
    <description>ah ... yes I see now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ok .. Ill try to complie using the source code.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks for your help!</description>
    <pubDate>Thu, 13 Oct 2005 11:49:39 GMT</pubDate>
    <dc:creator>Aydin Tasdeler</dc:creator>
    <dc:date>2005-10-13T11:49:39Z</dc:date>
    <item>
      <title>Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648927#M240237</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I'm having an issue with getting sudo to work on 11.23&lt;BR /&gt;&lt;BR /&gt;I have tried 2 methods so far both without success.&lt;BR /&gt;&lt;BR /&gt;Method 1.  the quick and easy..(hehe)&lt;BR /&gt;I have another 11.23 machine which is running sudo fine in another environment.  I decided to copy over the sudo , visudo , and sudoers table form one to the other .. ensuring that paths, ownerships , permissions on the files were in the identical places as the source machine.&lt;BR /&gt;&lt;BR /&gt;Upon executing /usr/local/bin/sudo   I get the error &lt;BR /&gt;sh:  /usr/local/bin/sudo:  Execute permission denied. &lt;BR /&gt;same with visudo &lt;BR /&gt;sh: /usr/local/sbin/visudo:  Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;I am root and the perms are set how they should be .. sudo  4111  and visudo is 111&lt;BR /&gt;&lt;BR /&gt;So having no success I decided to use method 2.&lt;BR /&gt;&lt;BR /&gt;Method 2.&lt;BR /&gt;I removed everything I did so far... I downloaded the hpux 11.23 depot file from this link&lt;BR /&gt;&lt;A href="http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p9/" target="_blank"&gt;http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p9/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I then installed the depot using  swinstall -s&lt;BR /&gt;&lt;BR /&gt;the package installed without any errors and sudo was on the system.&lt;BR /&gt;&lt;BR /&gt;Again I tried to execute /usr/local/bin/sudo  and /usr/local/sbin/visudo  with exactly the same error as above.&lt;BR /&gt;&lt;BR /&gt;I tried changing shell from sh  to ksh .. and that gives a "cannot execute" error.&lt;BR /&gt;&lt;BR /&gt;I'm not sure where the issue is here.   If anyone can help me I would appreciate it.&lt;BR /&gt;&lt;BR /&gt;I even tried creating a tesfile in /usr/local/bin and /usr/local/sbin/ with the same permissions and that can execute without any problems.&lt;BR /&gt;&lt;BR /&gt;What am I missing here ?  and where should I look .&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Aydin.</description>
      <pubDate>Thu, 13 Oct 2005 11:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648927#M240237</guid>
      <dc:creator>Aydin Tasdeler</dc:creator>
      <dc:date>2005-10-13T11:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648928#M240238</link>
      <description>What are the permissions on the directories leading to sudo?&lt;BR /&gt;&lt;BR /&gt;# ll -d /usr /usr/local /usr/local/sbin&lt;BR /&gt;&lt;BR /&gt;Also post:&lt;BR /&gt;&lt;BR /&gt;# ll /usr/local/sbin/sudo</description>
      <pubDate>Thu, 13 Oct 2005 11:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648928#M240238</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-10-13T11:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648929#M240239</link>
      <description>I just had another thought....&lt;BR /&gt;&lt;BR /&gt;What type of  machine is this?  Is it a PA-RISC or Itanium based machine running 11.23?&lt;BR /&gt;&lt;BR /&gt;What type is the machine that is running sudo successfully?&lt;BR /&gt;&lt;BR /&gt;If they are of different architecture, then you might get an error similar to what you see.&lt;BR /&gt;&lt;BR /&gt;# model&lt;BR /&gt;&lt;BR /&gt;# file /usr/local/sbin/sudo&lt;BR /&gt;&lt;BR /&gt;Post the results, please.</description>
      <pubDate>Thu, 13 Oct 2005 11:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648929#M240239</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-10-13T11:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648930#M240240</link>
      <description>Here is the information you have requested.&lt;BR /&gt;&lt;BR /&gt;The machine that was the source in Method 1 was a 164 rx7620.  not the same as this new machine... so if the arc is the issue why did method 2 fail also?   &lt;BR /&gt;&lt;BR /&gt;# ll -d /usr /usr/local/bin&lt;BR /&gt;dr-xr-xr-x  24 bin        bin           8192 Jun  9 10:49 /usr&lt;BR /&gt;dr-xr-xr-x   2 bin        bin           8192 Oct 13 12:33 /usr/local/bin&lt;BR /&gt;# ll /usr/local/bin/sudo&lt;BR /&gt;---s--x--x   2 root       root        209980 Jul 12 09:36 /usr/local/bin/sudo&lt;BR /&gt;# model&lt;BR /&gt;9000/800/L2000-44&lt;BR /&gt;# file /usr/local/bin/sudo&lt;BR /&gt;/usr/local/bin/sudo:    ELF-32 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 11:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648930#M240240</guid>
      <dc:creator>Aydin Tasdeler</dc:creator>
      <dc:date>2005-10-13T11:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648931#M240241</link>
      <description>The key is this:&lt;BR /&gt;/usr/local/bin/sudo: ELF-32 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt;Specifically the IA64 at the end.  This is an Itanium executable.&lt;BR /&gt;&lt;BR /&gt;Your 2nd method failed because the version you downloaded was built for 11.23 on Itanium and NOT 11.23 on PA-RISC.&lt;BR /&gt;&lt;BR /&gt;If you notice the "Architecture" column on this page:&lt;BR /&gt;&lt;A href="http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p9/" target="_blank"&gt;http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p9/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You will see that it says Itanium 2.  &lt;BR /&gt;&lt;BR /&gt;You will probably need to download the source code and compile it yourself.&lt;BR /&gt;&lt;BR /&gt;Remember that Itanium machines CAN run PA-RISC apps, BUT PA-RISC machines CAN NOT run Itanium apps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 11:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648931#M240241</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-10-13T11:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648932#M240242</link>
      <description>&lt;QUOTE&gt;&lt;BR /&gt;# model&lt;BR /&gt;9000/800/L2000-44&lt;BR /&gt;# file /usr/local/bin/sudo&lt;BR /&gt;/usr/local/bin/sudo: ELF-32 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Well, there's your problem. 9000/800/L2000-44 means that this is a PA-RISC 11.23 box. You're trying to run an IPF binary on it. There's no PA emulator for IPF on 11.23. Get the depot marked 11.11 (&lt;A href="http://gatekeep.cs.utah.edu/ftp/hpux/Sysadmin/sudo-1.6.8p9/sudo-1.6.8p9-hppa-11.11.depot.gz)" target="_blank"&gt;http://gatekeep.cs.utah.edu/ftp/hpux/Sysadmin/sudo-1.6.8p9/sudo-1.6.8p9-hppa-11.11.depot.gz)&lt;/A&gt;&lt;BR /&gt;instead and try that. 11.11 binaries should run on 11.23... (it worked on my development box that's running something a little later, so I doubt 11.23 is a problem), keep in mind I just installed the depot -- didn't create the sudoers file or anything:&lt;BR /&gt;&lt;BR /&gt;# which sudo&lt;BR /&gt;/usr/local/bin/sudo&lt;BR /&gt;# file /usr/local/bin/sudo&lt;BR /&gt;/usr/local/bin/sudo:    PA-RISC2.0 shared executable dynamically linked&lt;BR /&gt;# sudo&lt;BR /&gt;sudo: can't stat /etc/sudoers: No such file or directory&lt;BR /&gt;# Oct 13 09:47:29 vmpamed2 sudo:     root : can't stat /etc/sudoers: No such file or directory ; TTY=pts/0 ; PWD=/tmp ; USER=root ; COMMAND=/sbin/sh&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 11:48:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648932#M240242</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2005-10-13T11:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648933#M240243</link>
      <description>ah ... yes I see now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ok .. Ill try to complie using the source code.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks for your help!</description>
      <pubDate>Thu, 13 Oct 2005 11:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648933#M240243</guid>
      <dc:creator>Aydin Tasdeler</dc:creator>
      <dc:date>2005-10-13T11:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648934#M240244</link>
      <description>I installed the 11.11 package for PA RISC and that worked like a charm.</description>
      <pubDate>Thu, 13 Oct 2005 12:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648934#M240244</guid>
      <dc:creator>Aydin Tasdeler</dc:creator>
      <dc:date>2005-10-13T12:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sudo on 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648935#M240245</link>
      <description>Here is another place that you can get porting updates from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and more specifically:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p9/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p9/&lt;/A&gt;</description>
      <pubDate>Tue, 08 Nov 2005 16:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-sudo-on-11-23/m-p/3648935#M240245</guid>
      <dc:creator>Patrick Ware_1</dc:creator>
      <dc:date>2005-11-08T16:09:41Z</dc:date>
    </item>
  </channel>
</rss>

