<?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 - no password prompt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768132#M785909</link>
    <description>Sudo also has the ability to allow a command to executed as a particular user so that your su command should not be needed and careful configuration would be required so that this would not be exploited. You should really discuss with your sysadmin exactly what you are trying to accomplish and perhaps a better way will be found.</description>
    <pubDate>Tue, 11 Apr 2006 16:57:05 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-04-11T16:57:05Z</dc:date>
    <item>
      <title>sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768124#M785901</link>
      <description>I am writing a Shell script in which I first ssh to some servers then 'sudo su - user' and and execute some commands.&lt;BR /&gt;&lt;BR /&gt;But when I use 'sudo su - user', it prompts for password.&lt;BR /&gt;&lt;BR /&gt;Is there any way in which I can escape this password or provide the password in the sudo command line.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul</description>
      <pubDate>Fri, 07 Apr 2006 12:43:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768124#M785901</guid>
      <dc:creator>Rahul_13</dc:creator>
      <dc:date>2006-04-07T12:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768125#M785902</link>
      <description>It is the NOPASSWD you are looking for&lt;BR /&gt;&lt;BR /&gt;acct_name         ALL=(ALL) NOPASSWD: ALL</description>
      <pubDate>Fri, 07 Apr 2006 12:46:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768125#M785902</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-04-07T12:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768126#M785903</link>
      <description>Hi Rick,&lt;BR /&gt;&lt;BR /&gt;I did not get what you are saying. Can you please tell me where do I need to add the NOPASSWD entry.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Apr 2006 12:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768126#M785903</guid>
      <dc:creator>Rahul_13</dc:creator>
      <dc:date>2006-04-07T12:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768127#M785904</link>
      <description>In the sudoers file, you can have a configuration similar to the following&lt;BR /&gt;&lt;BR /&gt;&lt;LOGIN_ACCT&gt; ALL=(ALL) NOPASSWD: ALL&lt;BR /&gt;&lt;BR /&gt;The NOPASSWD key word is included in the syntax as you create a rule in the sudoers file. In this example, this is pretty wide open in an environment. Says ALL systems have NOPASSWD and can run ALL commands.&lt;BR /&gt;&lt;BR /&gt;&lt;/LOGIN_ACCT&gt;</description>
      <pubDate>Fri, 07 Apr 2006 12:59:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768127#M785904</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-04-07T12:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768128#M785905</link>
      <description>I don't have permissions to modify the sudoers file. Is there any other way in which I could escape the password.&lt;BR /&gt;&lt;BR /&gt;I tried echo "$pass"|sudo su - user&lt;BR /&gt;&lt;BR /&gt;But it does not seem to work.&lt;BR /&gt;&lt;BR /&gt;-Rahul</description>
      <pubDate>Fri, 07 Apr 2006 17:32:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768128#M785905</guid>
      <dc:creator>Rahul_13</dc:creator>
      <dc:date>2006-04-07T17:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768129#M785906</link>
      <description>Need that access to the sudoers file to add the NOPASSWD.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Apr 2006 16:45:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768129#M785906</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-04-11T16:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768130#M785907</link>
      <description>Ask yourself. If a non super-user has the ability to modify the sudoers file, just how secure do you think sudo would be?</description>
      <pubDate>Tue, 11 Apr 2006 16:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768130#M785907</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-04-11T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768131#M785908</link>
      <description>sudo is a method to give root access to selected users and selected commands. The system administrator must setup the sudoers file using visudo (do NOT edit the sudoers file with vi). If you do not have access to edit this file, you'll have to contact the system administrator.</description>
      <pubDate>Tue, 11 Apr 2006 16:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768131#M785908</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-11T16:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - no password prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768132#M785909</link>
      <description>Sudo also has the ability to allow a command to executed as a particular user so that your su command should not be needed and careful configuration would be required so that this would not be exploited. You should really discuss with your sysadmin exactly what you are trying to accomplish and perhaps a better way will be found.</description>
      <pubDate>Tue, 11 Apr 2006 16:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-no-password-prompt/m-p/3768132#M785909</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-04-11T16:57:05Z</dc:date>
    </item>
  </channel>
</rss>

