<?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 user without input password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043818#M303418</link>
    <description>you need to add a line like this to the sudoers file:&lt;BR /&gt;&lt;BR /&gt;userA ALL = NOPASSWD: /usr/bin/su - userB&lt;BR /&gt;&lt;BR /&gt;then the user can do this&lt;BR /&gt;&lt;BR /&gt;# sudo su - userB&lt;BR /&gt;&lt;BR /&gt;and should not have to type a password.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Jul 2007 08:56:44 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2007-07-25T08:56:44Z</dc:date>
    <item>
      <title>sudo user without input password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043816#M303416</link>
      <description>I want to let userA can su to userB , but it as to input userB password , can advise how to set to no need to input password ? thx</description>
      <pubDate>Wed, 25 Jul 2007 08:48:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043816#M303416</guid>
      <dc:creator>ust3</dc:creator>
      <dc:date>2007-07-25T08:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user without input password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043817#M303417</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;su is not a part of the sudo package. Two things. I've never checked, but sudo may use su commands, but you are making an association that is not there.&lt;BR /&gt;&lt;BR /&gt;To let userA use commands normally available to userB without a password, you can use sudo.&lt;BR /&gt;&lt;BR /&gt;You need to set up a command group and assign privileges to userA. sudo is normally used to provide non-privileged users with certain commands, not full access.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Jul 2007 08:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043817#M303417</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-07-25T08:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user without input password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043818#M303418</link>
      <description>you need to add a line like this to the sudoers file:&lt;BR /&gt;&lt;BR /&gt;userA ALL = NOPASSWD: /usr/bin/su - userB&lt;BR /&gt;&lt;BR /&gt;then the user can do this&lt;BR /&gt;&lt;BR /&gt;# sudo su - userB&lt;BR /&gt;&lt;BR /&gt;and should not have to type a password.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jul 2007 08:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043818#M303418</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-25T08:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user without input password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043819#M303419</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;ssh would be another option.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ssh userB@localhost&lt;BR /&gt;&lt;BR /&gt;(assuming it has been properly configured and authorized_keys properly updated)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 25 Jul 2007 08:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043819#M303419</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-07-25T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user without input password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043820#M303420</link>
      <description>I got it , thx all much.</description>
      <pubDate>Wed, 25 Jul 2007 09:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043820#M303420</guid>
      <dc:creator>ust3</dc:creator>
      <dc:date>2007-07-25T09:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user without input password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043821#M303421</link>
      <description>hi ust3&lt;BR /&gt;&lt;BR /&gt;if you want userA to su to userB only and no one else then do this&lt;BR /&gt;&lt;BR /&gt;SU = /usr/bin/su - userB, !/usr/bin/su -, !/usr/bin/su "", !/usr/bin/su &lt;BR /&gt;*root*, !/usr/bin/su - root&lt;BR /&gt;&lt;BR /&gt;userA     ALL = NOPASSWD: SU&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in the definition of SU we are telling it he can su as userB but not as root&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Aussan</description>
      <pubDate>Wed, 25 Jul 2007 09:05:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-without-input-password/m-p/4043821#M303421</guid>
      <dc:creator>Aussan</dc:creator>
      <dc:date>2007-07-25T09:05:29Z</dc:date>
    </item>
  </channel>
</rss>

