<?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: sudo error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961652#M618342</link>
    <description>hi Wamaitha;&lt;BR /&gt;&lt;BR /&gt;you must use visudo rather than vi.&lt;BR /&gt;and don't forget to save your sudoers file.&lt;BR /&gt;be sure that add your user to the User_Alias&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;User_Alias      EXAMPLE = user1, user2&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;mustafa</description>
    <pubDate>Wed, 22 Feb 2006 05:14:25 GMT</pubDate>
    <dc:creator>Mustafa Gulercan</dc:creator>
    <dc:date>2006-02-22T05:14:25Z</dc:date>
    <item>
      <title>sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961647#M618337</link>
      <description>hello,&lt;BR /&gt;i have a 2 for 1, i have added a user to the sudoers file. when the user tries to perform sudo -s, the get the message that user is not on the user is not in sudoers file.&lt;BR /&gt;in addition if i am logged in as root, the screen gets the following message:&lt;BR /&gt; Feb 21 14:08:12 wally sudo:  username : user NOT in sudoers ; TTY=ttyp3 ; PWD=/home/username ; USER=root ; COMMAND=/usr/bin/sh&lt;BR /&gt;thanks in advance.</description>
      <pubDate>Tue, 21 Feb 2006 14:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961647#M618337</guid>
      <dc:creator>Wamaitha</dc:creator>
      <dc:date>2006-02-21T14:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961648#M618338</link>
      <description>Have you used visudo to modify the file?&lt;BR /&gt;&lt;BR /&gt;Did you save the changes and exit? Otherwise the changes are on the temp file.&lt;BR /&gt;&lt;BR /&gt;Ensure that there is no an unfinished line, missing backslash or comma.</description>
      <pubDate>Tue, 21 Feb 2006 14:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961648#M618338</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-02-21T14:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961649#M618339</link>
      <description>Check your permissions on the sudoers file and make sure that you are all the way out of the file as advised above.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Feb 2006 14:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961649#M618339</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-02-21T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961650#M618340</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Did you save the file before exiting? Use #sudo -l and verify the user is properly authenticated in suoders file what commands he can execute&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sunil&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Feb 2006 16:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961650#M618340</guid>
      <dc:creator>Sยภเl Kย๓คг</dc:creator>
      <dc:date>2006-02-21T16:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961651#M618341</link>
      <description>Looks like the visudo command was not used. &lt;BR /&gt;&lt;BR /&gt;Use visudo to make modifications to the sudoers file.</description>
      <pubDate>Tue, 21 Feb 2006 16:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961651#M618341</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-02-21T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961652#M618342</link>
      <description>hi Wamaitha;&lt;BR /&gt;&lt;BR /&gt;you must use visudo rather than vi.&lt;BR /&gt;and don't forget to save your sudoers file.&lt;BR /&gt;be sure that add your user to the User_Alias&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;User_Alias      EXAMPLE = user1, user2&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;mustafa</description>
      <pubDate>Wed, 22 Feb 2006 05:14:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961652#M618342</guid>
      <dc:creator>Mustafa Gulercan</dc:creator>
      <dc:date>2006-02-22T05:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961653#M618343</link>
      <description>hi Wamaitha;&lt;BR /&gt;&lt;BR /&gt;sudo's configuration file, i mean sudoers can be in different paths according to O.S or version. you probably changed another sudoers file. if you use visudo instead of directly editing the file, no problem occurs. because visudo command edits the exact configuration file.&lt;BR /&gt;&lt;BR /&gt;Kenan.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Feb 2006 06:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961653#M618343</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2006-02-22T06:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961654#M618344</link>
      <description>Hello all, i did use visudo to make the necessary changes to the sudoer file. would the owner of the file be the issue??? i am able to login using sudo but a co-worker is not able to. &lt;BR /&gt;thanks in advance.</description>
      <pubDate>Wed, 22 Feb 2006 08:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961654#M618344</guid>
      <dc:creator>Wamaitha</dc:creator>
      <dc:date>2006-02-22T08:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961655#M618345</link>
      <description>sudo -s opens the shell ( defined in etc/passwd or defined as shell variable)  as the user spesified in sudoers ( default root). if you didn't give priviliges in sudoers to the user, he/she can't opens the shell. you can give it like this:&lt;BR /&gt;&lt;BR /&gt;user ALL = (ALL) /sbin/sh &lt;BR /&gt;&lt;BR /&gt;first "ALL" may be replaced by hostname&lt;BR /&gt;second by the user you want to run as.&lt;BR /&gt;&lt;BR /&gt;on the other hand, if you  let someone open  a root shell, sudo loose its importancy. because you can't log the user anymore.</description>
      <pubDate>Wed, 22 Feb 2006 10:02:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961655#M618345</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2006-02-22T10:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: sudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961656#M618346</link>
      <description>thanks to all your answers, what i did was delete the file and create it again. i had made a copy of the original sudoers file.&lt;BR /&gt;made the necessary changes and wala, it worked,&lt;BR /&gt;thanks as always.</description>
      <pubDate>Wed, 22 Feb 2006 11:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-error/m-p/4961656#M618346</guid>
      <dc:creator>Wamaitha</dc:creator>
      <dc:date>2006-02-22T11:11:20Z</dc:date>
    </item>
  </channel>
</rss>

