<?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-1.6.8p9-sd-11.11.depot installation and running problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607776#M104375</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The sudo is working fine and is installed properly here. The command not found message indicates that the argument provided to sudo is not listed in the sudoers file. This can be also confirmed by the error log in /var/adm/syslog/syslog.log file.&lt;BR /&gt;&lt;BR /&gt;Use visudo as root to edit sudoers file and then make entry for different users/groups as per syntax. Use "sudo -l" to list the commands for that user in sudo and then try running that command.&lt;BR /&gt;Something like.&lt;BR /&gt;&lt;BR /&gt;Extract from my sudoers file.&lt;BR /&gt;=========================&lt;BR /&gt;test  myserver101=/usr/bin/rlogin,/usr/lbin/remshd,/usr/sbin/cmviewcl&lt;BR /&gt;&lt;BR /&gt;============================&lt;BR /&gt;#sudo -l&lt;BR /&gt;User test may run the following commands on this host:&lt;BR /&gt;    (root) /usr/bin/rlogin&lt;BR /&gt;    (root) /usr/lbin/remshd&lt;BR /&gt;    (root) /usr/sbin/cmviewcl&lt;BR /&gt;$/home/test:/&amp;gt;sudo /usr/bin/rlogin mydb101&lt;BR /&gt;Password:&lt;BR /&gt;&lt;BR /&gt;The output of the command.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
    <pubDate>Fri, 19 Aug 2005 15:49:57 GMT</pubDate>
    <dc:creator>Devender Khatana</dc:creator>
    <dc:date>2005-08-19T15:49:57Z</dc:date>
    <item>
      <title>sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607770#M104369</link>
      <description>Hi,&lt;BR /&gt;I just swinstalled the "sudo-1.6.8p9-sd-11.11.depot" package under HP-UX 11.11. It did not create any files except the following:&lt;BR /&gt;/usr/local/bin/sudo&lt;BR /&gt;/usr/local/bin/sudoedit&lt;BR /&gt;/etc/sudoers&lt;BR /&gt;I edited the sudoers and made the changes following the instructions. When tried to invoke "sudo -u user/sudo user", it does not work and complains about " sudo command not found" even though everything is set properly for path search.&lt;BR /&gt;Seems like either it's not being installed correctly by the swinstall or I am missing some files which swinstall did not create. On 11.00, version 1.6 it did create some directories like bin, doc ,etc, man and sbin.&lt;BR /&gt;I am unable to test the sudo under the new version (11.11..RISC processor).&lt;BR /&gt;Any information on instaaltion, files, configuration and proper command use will help. What's wrong with this depot? Never had a problem with anyother depot from HP. Tried to compile the tar file but that failed on "make" step. So back to the depot option.&lt;BR /&gt;Need help.&lt;BR /&gt;Thanks&lt;BR /&gt;RK</description>
      <pubDate>Fri, 19 Aug 2005 14:07:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607770#M104369</guid>
      <dc:creator>Rakesh Kapoor</dc:creator>
      <dc:date>2005-08-19T14:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607771#M104370</link>
      <description>Use sudoedit to edit /etc/sudoers file.&lt;BR /&gt;Then can you do as follows.&lt;BR /&gt;type sudo&lt;BR /&gt;which sudo&lt;BR /&gt;&lt;BR /&gt;Does it point to /usr/local/bin/sudo (confirming that it is in yuor path.)</description>
      <pubDate>Fri, 19 Aug 2005 14:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607771#M104370</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-08-19T14:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607772#M104371</link>
      <description>sudo, it usually get installed in /usr/local/bin. If this directory is in exported PATH then usually  you should be able to run sudo.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Fri, 19 Aug 2005 14:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607772#M104371</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2005-08-19T14:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607773#M104372</link>
      <description>Same problem. Here is the output from the command:&lt;BR /&gt;*************************88&lt;BR /&gt;&lt;BR /&gt;hsgccu03:/home/kapoorrk$ type sudosudo is /usr/local/bin/&lt;BR /&gt;sudohsgccu03:/home/kapoorrk$ which sudo  /usr/local/bin/sudo&lt;BR /&gt;&lt;BR /&gt;hsgccu03:/home/kapoorrk$ sudo kapoorrk&lt;BR /&gt;sudo: kapoorrk: command not found&lt;BR /&gt;&lt;BR /&gt;*****************************&lt;BR /&gt;&lt;BR /&gt;Any ideas what I am doing wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 19 Aug 2005 14:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607773#M104372</guid>
      <dc:creator>Rakesh Kapoor</dc:creator>
      <dc:date>2005-08-19T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607774#M104373</link>
      <description>There is no problem with sudo.&lt;BR /&gt;sudo is complaing that command kapoorrk is not found. what is this kapoork command&lt;BR /&gt;do following.&lt;BR /&gt;&lt;BR /&gt;sudo&lt;BR /&gt;&lt;BR /&gt;kapoork&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 19 Aug 2005 14:40:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607774#M104373</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-08-19T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607775#M104374</link>
      <description>When I type just sudo, this is what I get:&lt;BR /&gt;hsgccu03:/home/kapoorrk$ sudo                       &lt;BR /&gt;&lt;BR /&gt;usage: sudo -K | -L | -V | -h | -k | -l | -vusage: sudo [-HPSb] [-p prompt] [-u username|#uid]            { -e file [...] | -i | -s | &lt;COMMAND&gt; }&lt;BR /&gt;where kapoorrk is my login id.&lt;BR /&gt;So, typing sudo kapoorrk, generates "coomand not found error"&lt;BR /&gt;Thanks for looking into this.&lt;/COMMAND&gt;</description>
      <pubDate>Fri, 19 Aug 2005 14:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607775#M104374</guid>
      <dc:creator>Rakesh Kapoor</dc:creator>
      <dc:date>2005-08-19T14:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607776#M104375</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The sudo is working fine and is installed properly here. The command not found message indicates that the argument provided to sudo is not listed in the sudoers file. This can be also confirmed by the error log in /var/adm/syslog/syslog.log file.&lt;BR /&gt;&lt;BR /&gt;Use visudo as root to edit sudoers file and then make entry for different users/groups as per syntax. Use "sudo -l" to list the commands for that user in sudo and then try running that command.&lt;BR /&gt;Something like.&lt;BR /&gt;&lt;BR /&gt;Extract from my sudoers file.&lt;BR /&gt;=========================&lt;BR /&gt;test  myserver101=/usr/bin/rlogin,/usr/lbin/remshd,/usr/sbin/cmviewcl&lt;BR /&gt;&lt;BR /&gt;============================&lt;BR /&gt;#sudo -l&lt;BR /&gt;User test may run the following commands on this host:&lt;BR /&gt;    (root) /usr/bin/rlogin&lt;BR /&gt;    (root) /usr/lbin/remshd&lt;BR /&gt;    (root) /usr/sbin/cmviewcl&lt;BR /&gt;$/home/test:/&amp;gt;sudo /usr/bin/rlogin mydb101&lt;BR /&gt;Password:&lt;BR /&gt;&lt;BR /&gt;The output of the command.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 19 Aug 2005 15:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607776#M104375</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-08-19T15:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607777#M104376</link>
      <description>Is the command / script kapoork in your path?  Is that a command at all?  What exactly are you attempting to do?&lt;BR /&gt;&lt;BR /&gt;sudo is usually used to run some command as root.  Normal syntax is 'sudo command'.  What the message you are getting is saying is that it cannot find the command kapoorrk.  That command, if it is one, has to be available via the PATH or you must fully qualify it.</description>
      <pubDate>Fri, 19 Aug 2005 16:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607777#M104376</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-08-19T16:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607778#M104377</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Thanks to all of you. Sudo is running OK but still does not prompt for the user password.  The usage for sudo, used to be " sudo -u username". &lt;BR /&gt;Following is the entry I am using for the user "kapoorrk" in sudoers file:&lt;BR /&gt;&lt;BR /&gt;kapoorrk ALL=(ALL) ALL&lt;BR /&gt;&lt;BR /&gt;and was expecting the system to force the user to enter his password.&lt;BR /&gt;&lt;BR /&gt;?????&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;This form is great!&lt;BR /&gt;&lt;BR /&gt;RK</description>
      <pubDate>Mon, 22 Aug 2005 10:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607778#M104377</guid>
      <dc:creator>Rakesh Kapoor</dc:creator>
      <dc:date>2005-08-22T10:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607779#M104378</link>
      <description>You are misinterpreting the usage of the '-u username' option.&lt;BR /&gt;&lt;BR /&gt;The '-u username' tells sudo to run whatever command you specify as that username, instead of root.&lt;BR /&gt;&lt;BR /&gt;So if you did:&lt;BR /&gt;&lt;BR /&gt;$ sudo -u user2 somecommand&lt;BR /&gt;&lt;BR /&gt;sudo would then run the command 'somecommand' as the user user2.&lt;BR /&gt;&lt;BR /&gt;In your case since kapoorrk is an actual user name, and you have that user specified in the sudoers file as allowed to run anything, you would login as the user kapoorrk and THEN use sudo to run commands as root.&lt;BR /&gt;&lt;BR /&gt;$ id&lt;BR /&gt;uid=1234(kapoorrk) gid=whatever....&lt;BR /&gt;$ sudo somecommand&lt;BR /&gt;Password:&lt;BR /&gt;&lt;BR /&gt;If you login as user kapoorrk, then issue the sudo command as above sudo will then run the command 'somecommand' as user root if you entered the password correctly.  This is the usual usage of sudo.&lt;BR /&gt;&lt;BR /&gt;Have a look at the sudo man page for more info.  If you don't have the sudo man page, have a look at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gratisoft.us/sudo/man/sudo.html" target="_blank"&gt;http://www.gratisoft.us/sudo/man/sudo.html&lt;/A&gt;</description>
      <pubDate>Mon, 22 Aug 2005 10:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607779#M104378</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-08-22T10:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607780#M104379</link>
      <description>Thanks a lot Patrick. As user kapoorrk, I can issue any command as expected except for one thing. It does not ask for the password when using "sudo" while logged in as kapoorrk.&lt;BR /&gt;&lt;BR /&gt;Example: when I do "sudo sam", it takes me directly into sam menu screen without ever asking me my password.&lt;BR /&gt;Is it normal?&lt;BR /&gt;&lt;BR /&gt;It was honor to have so many smart people looking at this.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;RK</description>
      <pubDate>Mon, 22 Aug 2005 12:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607780#M104379</guid>
      <dc:creator>Rakesh Kapoor</dc:creator>
      <dc:date>2005-08-22T12:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607781#M104380</link>
      <description>&lt;BR /&gt;If its not asking for a passwd, then you are using the nopasswd option &lt;BR /&gt;&lt;BR /&gt;for example &lt;BR /&gt;&lt;BR /&gt;strong ALL=(ALL) NOPASSWD: ALL &lt;BR /&gt;&lt;BR /&gt;would allow the user to run all commands with sudo with no passwd. &lt;BR /&gt;&lt;BR /&gt;strong ALL=(ALL) ALL&lt;BR /&gt;&lt;BR /&gt;would also allow strong to run all commands but the user would have to enter his passwd</description>
      <pubDate>Mon, 22 Aug 2005 13:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607781#M104380</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-22T13:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607782#M104381</link>
      <description>I did find that option.Sudo is working OK for me now.&lt;BR /&gt;Thanks a lot</description>
      <pubDate>Mon, 22 Aug 2005 14:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607782#M104381</guid>
      <dc:creator>Rakesh Kapoor</dc:creator>
      <dc:date>2005-08-22T14:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: sudo-1.6.8p9-sd-11.11.depot installation and running problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607783#M104382</link>
      <description>Hi Rakesh,&lt;BR /&gt;&lt;BR /&gt;What about assigning points after problem getting resolved.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devender</description>
      <pubDate>Wed, 24 Aug 2005 10:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-1-6-8p9-sd-11-11-depot-installation-and-running-problem/m-p/3607783#M104382</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-08-24T10:16:57Z</dc:date>
    </item>
  </channel>
</rss>

