<?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: Useradd for creating system user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297541#M475137</link>
    <description>&lt;P&gt;Yes, it will surely work.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2011 10:55:55 GMT</pubDate>
    <dc:creator>Hiren N Dave</dc:creator>
    <dc:date>2011-08-11T10:55:55Z</dc:date>
    <item>
      <title>Useradd for creating system user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297517#M475136</link>
      <description>&lt;P&gt;I'm trying to create a user with root privileges. I'm trying to assign "/" as the home directory for the duplicate root user roota. Already the existing root user also has "/" as the home directoy.Is it possible to assign "/" as home directory for two users with same uid?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know whether the below command works or not:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;useradd -ou 0 -g 0 -s /bin/ksh -d / roota&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297517#M475136</guid>
      <dc:creator>kumar_chandel</dc:creator>
      <dc:date>2011-08-11T10:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Useradd for creating system user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297541#M475137</link>
      <description>&lt;P&gt;Yes, it will surely work.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 10:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297541#M475137</guid>
      <dc:creator>Hiren N Dave</dc:creator>
      <dc:date>2011-08-11T10:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Useradd for creating system user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297547#M475138</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Better to share&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="hps"&gt;the root password&lt;/SPAN&gt;﻿...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgs,&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 11:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297547#M475138</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2011-08-11T11:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: useradd for creating system user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297561#M475139</link>
      <description>&lt;P&gt;If you are doing something as dangerous having two root users, you might as well use vipw(1m), especially if using the same home directory.&lt;/P&gt;&lt;P&gt;That way you use vipw(1m) to remove that user.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 11:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297561#M475139</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-11T11:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Useradd for creating system user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297719#M475141</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1196747"&gt;@kumar_chandel&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I'm trying to create a user with root privileges.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Why?&amp;nbsp; As noted, using 'vipw' to replicate the root account as a renamed one is the easiest way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*However* this is a very bad idea.&amp;nbsp; You should be using SUDO or RBAC to confer the privileges you apparently need to someone or something.&amp;nbsp; There are other ways, too, that are far less hazdardous then what you are trying to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Audits and auditors aside, what happens one day when you or your sucessor, or even a colleage, decides to delete the account, named "kumar"?&amp;nbsp;&amp;nbsp; Think what happens if I would do something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# find / -type f -user kumar -exec rm {} +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my point isn't clear, would you do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# find / -type f -user 0 -exec rm {} +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you like rebuilding systems?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 13:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/useradd-for-creating-system-user/m-p/5297719#M475141</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-08-11T13:09:38Z</dc:date>
    </item>
  </channel>
</rss>

