<?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: Set User Id in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121801#M31185</link>
    <description>If you talk about SUID bit, "chmod u+s", this means that a program will run with the privileges of the owner of the file instead of the user who runs the program.&lt;BR /&gt;&lt;BR /&gt;For example, if /bin/rm is owned by root, without SUID bit, if user1 runs the command /bin/rm -fr /root, it will run as user1, and he won't be able to delete the files in /root as user1 has no permissions.&lt;BR /&gt;&lt;BR /&gt;If /bin/rm is owned by root, and it has SUID bit enabled, if user1 runs the command /bin/rm -fr /root, it will run as "root" (the owner of the program), and will be able to delete the /root directory.</description>
    <pubDate>Fri, 28 Dec 2007 15:32:17 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-12-28T15:32:17Z</dc:date>
    <item>
      <title>Set User Id</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121799#M31183</link>
      <description>hi,&lt;BR /&gt;   please anyone can tell me about set user id.&lt;BR /&gt;How it works &amp;amp; what's the use of it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx in advance&lt;BR /&gt;Abhirama&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Dec 2007 05:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121799#M31183</guid>
      <dc:creator>Abhirama.M.V</dc:creator>
      <dc:date>2007-12-28T05:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set User Id</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121800#M31184</link>
      <description>It really depends on what you're wanting to set the user id of.&lt;BR /&gt;&lt;BR /&gt;If you're wanting to create a user with a specific UID, then 'useradd -u &lt;ID&gt; &lt;USER&gt;' will create it.&lt;BR /&gt;&lt;BR /&gt;If you want to launch a process as a given user, depending on the process, you can just 'su - &lt;USER&gt; -c &lt;COMMAND&gt;'.&lt;BR /&gt;&lt;BR /&gt;If it's a daemon process however (such as squid or apache), there's usually daemon configuration values which say which user they drop their privileges to ('cache_effective_user' and 'User' respectivly in these two cases).&lt;BR /&gt;&lt;BR /&gt;If this isn't what you're after, more details please.&lt;/COMMAND&gt;&lt;/USER&gt;&lt;/USER&gt;&lt;/ID&gt;</description>
      <pubDate>Fri, 28 Dec 2007 11:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121800#M31184</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-12-28T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set User Id</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121801#M31185</link>
      <description>If you talk about SUID bit, "chmod u+s", this means that a program will run with the privileges of the owner of the file instead of the user who runs the program.&lt;BR /&gt;&lt;BR /&gt;For example, if /bin/rm is owned by root, without SUID bit, if user1 runs the command /bin/rm -fr /root, it will run as user1, and he won't be able to delete the files in /root as user1 has no permissions.&lt;BR /&gt;&lt;BR /&gt;If /bin/rm is owned by root, and it has SUID bit enabled, if user1 runs the command /bin/rm -fr /root, it will run as "root" (the owner of the program), and will be able to delete the /root directory.</description>
      <pubDate>Fri, 28 Dec 2007 15:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121801#M31185</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-12-28T15:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set User Id</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121802#M31186</link>
      <description>What Ivan said sounds reflecing to your needs. Please explain your scenario.</description>
      <pubDate>Fri, 28 Dec 2007 18:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121802#M31186</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-12-28T18:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set User Id</title>
      <link>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121803#M31187</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;    I hope this link will be helpful... &lt;BR /&gt;&lt;A href="http://www.codecoffee.com/tipsforlinux/articles/028.html" target="_blank"&gt;http://www.codecoffee.com/tipsforlinux/articles/028.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;Palani&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jan 2008 11:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/set-user-id/m-p/4121803#M31187</guid>
      <dc:creator>palaniappan.sp</dc:creator>
      <dc:date>2008-01-01T11:51:37Z</dc:date>
    </item>
  </channel>
</rss>

