<?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: grp question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883653#M280301</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to add, that manual (re)setting of ownership IS required if&lt;BR /&gt;- you have NIS(+)   AND&lt;BR /&gt;- there data with the previous userid on remote hosts, esp. not under automounted directories&lt;BR /&gt;&lt;BR /&gt;Something like&lt;BR /&gt; find mydir -xdev -user &lt;OLDID&gt; | xargs chown &lt;NEWID&gt;&lt;BR /&gt;&lt;BR /&gt;will do it.&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;/NEWID&gt;&lt;/OLDID&gt;</description>
    <pubDate>Fri, 20 Oct 2006 08:08:46 GMT</pubDate>
    <dc:creator>Peter Nikitka</dc:creator>
    <dc:date>2006-10-20T08:08:46Z</dc:date>
    <item>
      <title>grp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883649#M280297</link>
      <description>Hi,&lt;BR /&gt;What is the quality procedure to change the uid or username in hp.userdmod seems to work fine for users home directory.but what happens to the dir and files that are owned by the user - will it be affected.Is there any option to usermod command that can take care of all the dir,files owned by the user who's uid is changing.thanks in advance .</description>
      <pubDate>Thu, 19 Oct 2006 22:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883649#M280297</guid>
      <dc:creator>subhashni</dc:creator>
      <dc:date>2006-10-19T22:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: grp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883650#M280298</link>
      <description>If you change user name and keep same uid, then you don't need to do chown on files. But if you change uid, you need to do chown on files afterwards. usermod or SAM is OK in doing this.</description>
      <pubDate>Fri, 20 Oct 2006 00:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883650#M280298</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-10-20T00:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: grp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883651#M280299</link>
      <description>HP-UX (and all Unix systems) only know about the UID (user ID number) and that is what is stored in the filesystem for each file. You only see a username when using ll (ls -l) because this command searches /etc/passwd for a match to the UID number. So the only situatin where ownership would be a problem would be in changing the UID. The username can be changed at anytime. NOTE: never edit /etc/passwd to change the username unless you know the system is NOT Trusted and is NOT using shadow passwords.&lt;BR /&gt; &lt;BR /&gt;If you do indeed change the UID, then you'll need to manually change the ownership of the affected files and directories. This is difficult to automate since you'll have to search /home, /var/tmp and /tmp plus any other user-writable directories on your system.</description>
      <pubDate>Fri, 20 Oct 2006 07:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883651#M280299</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-20T07:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: grp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883652#M280300</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;In cases like this, you may want to search more than just the user's home directory, as Bill notes.  You will find these variations helpful:&lt;BR /&gt;&lt;BR /&gt;# find /home /var /tmp -xdev -user 50&lt;BR /&gt;# find /home /var /tmp -xdev -user jrf&lt;BR /&gt;# find /home /var /tmp -xdev -nouser&lt;BR /&gt;# find /home /var /tmp -xdev -user 50 | xargs chown jrf&lt;BR /&gt;&lt;BR /&gt;See the 'find' manpages for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 20 Oct 2006 07:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883652#M280300</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-10-20T07:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: grp question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883653#M280301</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to add, that manual (re)setting of ownership IS required if&lt;BR /&gt;- you have NIS(+)   AND&lt;BR /&gt;- there data with the previous userid on remote hosts, esp. not under automounted directories&lt;BR /&gt;&lt;BR /&gt;Something like&lt;BR /&gt; find mydir -xdev -user &lt;OLDID&gt; | xargs chown &lt;NEWID&gt;&lt;BR /&gt;&lt;BR /&gt;will do it.&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;/NEWID&gt;&lt;/OLDID&gt;</description>
      <pubDate>Fri, 20 Oct 2006 08:08:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grp-question/m-p/3883653#M280301</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-10-20T08:08:46Z</dc:date>
    </item>
  </channel>
</rss>

