<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160821#M456293</link>
    <description>Yes Tingli , i have created that via visudo , &lt;BR /&gt;i have alredy posted above the content of that file above .&lt;BR /&gt;here's o/p of sudo -v&lt;BR /&gt; /usr/local/bin/sudo -v&lt;BR /&gt;Sorry, user user1 may not run sudo on xyz.</description>
    <pubDate>Tue, 03 Mar 2009 16:18:00 GMT</pubDate>
    <dc:creator>DeafFrog</dc:creator>
    <dc:date>2009-03-03T16:18:00Z</dc:date>
    <item>
      <title>sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160804#M456276</link>
      <description>here's what /usr/local/etc/sudoers file for machine looks like :&lt;BR /&gt;Cmnd_Alias      ADMINS=/usr/sbin/useradd&lt;BR /&gt;root            ALL=NOPASSWD:ALL&lt;BR /&gt;%sysadmin       ALL=NOPASSWD:ALL&lt;BR /&gt;%oper           ALL=NOPASSWD:ALL&lt;BR /&gt;~&lt;BR /&gt;user1           root=NOPASSWD:ADMINS&lt;BR /&gt;&lt;BR /&gt;But here's what i am getting ....&lt;BR /&gt;$ whoami&lt;BR /&gt;user1&lt;BR /&gt;$ /usr/sbin/useradd -g general -m user2&lt;BR /&gt;Permission Denied&lt;BR /&gt;....i have tried googling ...but not working.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 14:26:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160804#M456276</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-03T14:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160805#M456277</link>
      <description>You have to actually use the 'sudo' command in order to get permissions.&lt;BR /&gt;&lt;BR /&gt;$ sudo /usr/sbin/useradd -g general -m user2</description>
      <pubDate>Tue, 03 Mar 2009 14:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160805#M456277</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-03-03T14:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160806#M456278</link>
      <description>You need to use sudo before /usr/bin/useradd</description>
      <pubDate>Tue, 03 Mar 2009 14:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160806#M456278</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T14:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160807#M456279</link>
      <description>/opt/sudo/bin/sudo /usr/sbin/useradd [options]</description>
      <pubDate>Tue, 03 Mar 2009 14:32:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160807#M456279</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T14:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160808#M456280</link>
      <description>Also refer to the following thread&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=997812" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=997812&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please assign points to this threads !!</description>
      <pubDate>Tue, 03 Mar 2009 14:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160808#M456280</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T14:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160809#M456281</link>
      <description>Thanks Patrick , &lt;BR /&gt;&lt;BR /&gt;$ /usr/local/bin/sudo /usr/sbin/useradd -g general -m user2&lt;BR /&gt;&lt;BR /&gt;We trust you have received the usual lecture from the local System&lt;BR /&gt;Administrator. It usually boils down to these three things:&lt;BR /&gt;&lt;BR /&gt;    #1) Respect the privacy of others.&lt;BR /&gt;    #2) Think before you type.&lt;BR /&gt;    #3) With great power comes great responsibility.&lt;BR /&gt;&lt;BR /&gt;Password:&lt;BR /&gt;Sorry, try again.&lt;BR /&gt;Password:&lt;BR /&gt;Sorry, try again.&lt;BR /&gt;Password:&lt;BR /&gt;..................and the passwd is correct.</description>
      <pubDate>Tue, 03 Mar 2009 14:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160809#M456281</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-03T14:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160810#M456282</link>
      <description>Try less than 8 char password</description>
      <pubDate>Tue, 03 Mar 2009 14:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160810#M456282</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T14:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160811#M456283</link>
      <description>What password are you using?&lt;BR /&gt;&lt;BR /&gt;The password you use is the password of the ID you are logged in as.  In this case the password of user1.</description>
      <pubDate>Tue, 03 Mar 2009 14:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160811#M456283</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-03-03T14:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160812#M456284</link>
      <description>Thanks Avinash and Patrick ,&lt;BR /&gt;&lt;BR /&gt;                          I ahve tried both the passwd , for uer1 and root .not the mesasage is &lt;BR /&gt;Last   successful login for user1: Tue Mar  3 18:17:31 oman-4 2009&lt;BR /&gt;Last unsuccessful login for user1: Tue Mar  3 18:46:50 oman-4 2009 on pts/0&lt;BR /&gt;user1 is not allowed to run sudo on mwdev1.  This incident will be reported.&lt;BR /&gt;.....the system is trusted.</description>
      <pubDate>Tue, 03 Mar 2009 14:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160812#M456284</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-03T14:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160813#M456285</link>
      <description>You have not defined the parameter in visudo correctly.</description>
      <pubDate>Tue, 03 Mar 2009 15:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160813#M456285</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T15:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160814#M456286</link>
      <description>user1 root = NOPASSWD :/usr/bin/useradd&lt;BR /&gt;&lt;BR /&gt;Try and let me know</description>
      <pubDate>Tue, 03 Mar 2009 15:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160814#M456286</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T15:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160815#M456287</link>
      <description>Also ensure to check what privileges you are having via&lt;BR /&gt;sudo -l</description>
      <pubDate>Tue, 03 Mar 2009 15:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160815#M456287</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T15:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160816#M456288</link>
      <description>I am not sure....&lt;BR /&gt;&lt;BR /&gt;It seems that you don't need to use password for the whole thing.&lt;BR /&gt;&lt;BR /&gt;Maybe you can try:&lt;BR /&gt;&lt;BR /&gt;sudo -u root -c "/usr/sbin/useradd -g general -m user2"</description>
      <pubDate>Tue, 03 Mar 2009 15:14:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160816#M456288</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-03-03T15:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160817#M456289</link>
      <description>Dear Avinash ,&lt;BR /&gt;&lt;BR /&gt;              I have always assigned points , you can look into profile.I think i have to get the user1 account enabled in sudo now .....there's the message......Last unsuccessful login for user1: Tue Mar  3 18:46:50 xyz-4 2009 on pts/0&lt;BR /&gt;user1 is not allowed to run sudo on xyz.  This incident will be reported.</description>
      <pubDate>Tue, 03 Mar 2009 15:15:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160817#M456289</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-03T15:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160818#M456290</link>
      <description>Tingli : your suggested command showed problem in syntax &lt;BR /&gt;Avinash : after , user1 root = NOPASSWD :/usr/bin/useradd : problem persists</description>
      <pubDate>Tue, 03 Mar 2009 15:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160818#M456290</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-03T15:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160819#M456291</link>
      <description>Take away the "-u root".&lt;BR /&gt;&lt;BR /&gt;Also, did you create the sudoers file by visudo, which will check the syntax of the file?</description>
      <pubDate>Tue, 03 Mar 2009 16:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160819#M456291</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-03-03T16:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160820#M456292</link>
      <description>Refer &lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=997812" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=997812&lt;/A&gt;</description>
      <pubDate>Tue, 03 Mar 2009 16:14:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160820#M456292</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T16:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160821#M456293</link>
      <description>Yes Tingli , i have created that via visudo , &lt;BR /&gt;i have alredy posted above the content of that file above .&lt;BR /&gt;here's o/p of sudo -v&lt;BR /&gt; /usr/local/bin/sudo -v&lt;BR /&gt;Sorry, user user1 may not run sudo on xyz.</description>
      <pubDate>Tue, 03 Mar 2009 16:18:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160821#M456293</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-03T16:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160822#M456294</link>
      <description>Avinash ,the thread you posted suggested restricted sam as option.But there has to be a solution to this , i have tried setting up RBACK also ...may be towmarrow will be a good day</description>
      <pubDate>Tue, 03 Mar 2009 16:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160822#M456294</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-03-03T16:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160823#M456295</link>
      <description>"the thread you posted suggested restricted sam as option"&lt;BR /&gt;&lt;BR /&gt;I wanted you to check only the first two notes in the thread</description>
      <pubDate>Tue, 03 Mar 2009 16:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/5160823#M456295</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T16:27:45Z</dc:date>
    </item>
  </channel>
</rss>

