<?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>i.MX ProcessorsのトピックRe:  How to write a process to log root by c</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-process-to-log-root-by-c/m-p/491123#M78804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set setUID bit for your binary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# chown root your_binary&lt;/P&gt;&lt;P&gt;# chmod 4755 your_binary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will be executed with root privelegies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 02:45:48 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2016-04-12T02:45:48Z</dc:date>
    <item>
      <title>How to write a process to log root by c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-process-to-log-root-by-c/m-p/491122#M78803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want write a process to log root but i don't know how design the process&lt;/P&gt;&lt;P&gt;i hope i can get your help&lt;/P&gt;&lt;P&gt;if you&amp;nbsp; offer your source code i will Grateful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 03:48:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-process-to-log-root-by-c/m-p/491122#M78803</guid>
      <dc:creator>tingning</dc:creator>
      <dc:date>2016-04-09T03:48:05Z</dc:date>
    </item>
    <item>
      <title>Re:  How to write a process to log root by c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-process-to-log-root-by-c/m-p/491123#M78804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set setUID bit for your binary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# chown root your_binary&lt;/P&gt;&lt;P&gt;# chmod 4755 your_binary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will be executed with root privelegies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 02:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-process-to-log-root-by-c/m-p/491123#M78804</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-04-12T02:45:48Z</dc:date>
    </item>
    <item>
      <title>Re:  How to write a process to log root by c</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-process-to-log-root-by-c/m-p/491124#M78805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Victor Linnik!&lt;/P&gt;&lt;P&gt;thank you for reply me&amp;nbsp; but&amp;nbsp; I suffer trouble which is like this&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ning@ubuntu:/work$ su&lt;/P&gt;&lt;P&gt;Password: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this Password&amp;nbsp; is required input by system ,&lt;/P&gt;&lt;P&gt;i&amp;nbsp; don't want to use keyboard, i went use executable file which is Compiled by gcc&lt;/P&gt;&lt;P&gt;please help me &lt;/P&gt;&lt;P&gt;i totally have not way&amp;nbsp; and come true it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:20:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-process-to-log-root-by-c/m-p/491124#M78805</guid>
      <dc:creator>tingning</dc:creator>
      <dc:date>2016-04-14T13:20:18Z</dc:date>
    </item>
  </channel>
</rss>

