<?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: su to another user without password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907128#M283948</link>
    <description>You would have to use a tool like 'sudo' and set userA up to do something like 'sudo su - userB'.  You can set sudo up to NOT require entry of userA's passwd as well.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 03 Dec 2006 22:37:25 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2006-12-03T22:37:25Z</dc:date>
    <item>
      <title>su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907127#M283947</link>
      <description>there are two user in the system , eg. userA and userB , they are general user , if I want to userA can su to userB but without input the password of userB , can advise what can I do ? except ssh method , can advise another method ? thx&lt;BR /&gt;&lt;BR /&gt;ps. please ignore the security issue.&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Dec 2006 22:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907127#M283947</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2006-12-03T22:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907128#M283948</link>
      <description>You would have to use a tool like 'sudo' and set userA up to do something like 'sudo su - userB'.  You can set sudo up to NOT require entry of userA's passwd as well.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Dec 2006 22:37:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907128#M283948</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-12-03T22:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907129#M283949</link>
      <description>The only time that su does not prompt for the password is when the effective euse id is zero (ie root). If it worked any other way imagine the huge security hole that would introduce. You really have two choices: 1) sudo 2) Create a setuid wrapper program. Sudo is the far more secure option.</description>
      <pubDate>Sun, 03 Dec 2006 23:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907129#M283949</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-12-03T23:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907130#M283950</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;note that you can download sudo as part of Internet express and compiled many options enabled. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=&lt;/A&gt;&lt;BR /&gt;HPUXIEXP1111&lt;BR /&gt;&lt;BR /&gt;for more info, see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1090940400855+28353475&amp;amp;threadId=630557" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1090940400855+28353475&amp;amp;threadId=630557&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 04 Dec 2006 01:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907130#M283950</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-12-04T01:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907131#M283951</link>
      <description>thx , &lt;BR /&gt;&lt;BR /&gt;I use rlogin , the userA can su to userB without password now, but I have another requirement , I want to write a script , the script run by userA and su to userB then rcp a file to remote server , like below , but have error , it seems the rlogin has problem , I have test that userA can su to userB and scp file to remote server ( test it manually ) , but why can run it with a script , can advise what is wrong in my script ? thx&lt;BR /&gt;&lt;BR /&gt;script :&lt;BR /&gt;&lt;BR /&gt;SU="rlogin -l userB localhost"&lt;BR /&gt;${SU} "scp test.file remotehost:/tmp&lt;BR /&gt;&lt;BR /&gt;error :&lt;BR /&gt;usage: rlogin [ -8EL] [-e char] [ -l username ] host&lt;BR /&gt;phase 2&lt;BR /&gt;usage: rlogin [ -8EL] [-e char] [ -l username ] host</description>
      <pubDate>Mon, 04 Dec 2006 01:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907131#M283951</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2006-12-04T01:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907132#M283952</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the command 'rlogin' does interactive login - no addtional commands can be supplied. Use 'remsh' instead; as well you need balanced quotes - I suggest you try something like this:&lt;BR /&gt;&lt;BR /&gt;SU="remsh -n -l userB localhost"&lt;BR /&gt;${SU} "scp -q test.file remotehost:/tmp"&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Mon, 04 Dec 2006 06:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907132#M283952</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-12-04T06:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907133#M283953</link>
      <description>Can't see why you dont want to use ssh... as it is far the simplest way...&lt;BR /&gt;&lt;BR /&gt;In principle it seems as you want to have two equivalent users, so why can't you define them with same uid ?&lt;BR /&gt;The two users can have individual environment settings, home directory aso. but still have identical rights to each others files.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Thu, 07 Dec 2006 19:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907133#M283953</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2006-12-07T19:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907134#M283954</link>
      <description>Hi hangyu,&lt;BR /&gt;&lt;BR /&gt;can you give a feedback to our solutions?&lt;BR /&gt;&lt;BR /&gt;And:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Fri, 08 Dec 2006 02:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907134#M283954</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-12-08T02:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907135#M283955</link>
      <description>I also would use ssh. Once setup this would provide the functionality you are looking for and be more secure than remsh. Your command formats would remain similar.&lt;BR /&gt;&lt;BR /&gt;ssh username@host command&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Berd</description>
      <pubDate>Fri, 08 Dec 2006 06:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907135#M283955</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2006-12-08T06:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: su to another user without password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907136#M283956</link>
      <description>Hi,&lt;BR /&gt;you can use any of three methods.&lt;BR /&gt;I)sudo- you have to install this&lt;BR /&gt;II)RLOGIN-Make configuration changes in $HOME./rhosts file( for user equivalency) or /etc/host.eqv file( for hosts equivalency)&lt;BR /&gt;III)user ssh-This also you have to installed in server,But very secure method.&lt;BR /&gt;You can configure ssh to switch without passwd.You have to generate public/private key &amp;amp; a procedure for this single sign on.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Choice is yours.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Trupti&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Dec 2006 05:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-to-another-user-without-password/m-p/3907136#M283956</guid>
      <dc:creator>Trupti</dc:creator>
      <dc:date>2006-12-09T05:16:52Z</dc:date>
    </item>
  </channel>
</rss>

