<?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 command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175818#M663796</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Same as "su" and "su -"&lt;BR /&gt;when we use "su test" it should not run the test users .profile  but when you use "su - test" its executed test users .profile and set the env for test.&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 18 May 2009 13:53:44 GMT</pubDate>
    <dc:creator>Suraj K Sankari</dc:creator>
    <dc:date>2009-05-18T13:53:44Z</dc:date>
    <item>
      <title>sudo command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175816#M663794</link>
      <description>Hello all,&lt;BR /&gt;what is difference between sudo su and sudo su - command ?&lt;BR /&gt;Thanks in advance ...&lt;BR /&gt;</description>
      <pubDate>Mon, 18 May 2009 12:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175816#M663794</guid>
      <dc:creator>Gurudatta Shinde</dc:creator>
      <dc:date>2009-05-18T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: sudo command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175817#M663795</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First you should know about sudo. sudo is the tool which gives specific privilages to specific users. root can grant execute permission for few commands to selective users. For that purpuse sudo is being used.&lt;BR /&gt;&lt;BR /&gt;But for executing su, sudo may not required. all users can execute su command without sudo.&lt;BR /&gt;&lt;BR /&gt;Anyway come to your doubt...&lt;BR /&gt;&lt;BR /&gt;"sudo su" will switch to root user, but will not inherit any root users environments settings.&lt;BR /&gt;&lt;BR /&gt;"sudo su -" will switch to root user with all root environment settings.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 May 2009 12:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175817#M663795</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-05-18T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: sudo command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175818#M663796</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Same as "su" and "su -"&lt;BR /&gt;when we use "su test" it should not run the test users .profile  but when you use "su - test" its executed test users .profile and set the env for test.&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 May 2009 13:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175818#M663796</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-18T13:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: sudo command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175819#M663797</link>
      <description>this is same as &lt;BR /&gt;su user&lt;BR /&gt;su - user&lt;BR /&gt;&lt;BR /&gt;no dash -&amp;gt; DONT run the user profile and the ENV settings.&lt;BR /&gt;&lt;BR /&gt;with dash -&amp;gt; run the user profile</description>
      <pubDate>Tue, 19 May 2009 04:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175819#M663797</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2009-05-19T04:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: sudo command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175820#M663798</link>
      <description>Thanks to all .</description>
      <pubDate>Mon, 25 May 2009 11:00:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-command/m-p/5175820#M663798</guid>
      <dc:creator>Gurudatta Shinde</dc:creator>
      <dc:date>2009-05-25T11:00:28Z</dc:date>
    </item>
  </channel>
</rss>

