<?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: Query regarding abandoned files seen in HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158221#M455876</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I would not consider these files abandoned.&lt;BR /&gt;&lt;BR /&gt;Here is how it could happen.&lt;BR /&gt;&lt;BR /&gt;HP-UX system is integrated into Windows ADS domain. User has rights and writes a file.&lt;BR /&gt;&lt;BR /&gt;Server is booted from the domain, removed, or user is deleted in the domain controller. Suddenly files without owners.&lt;BR /&gt;&lt;BR /&gt;You can even make it happen localy.&lt;BR /&gt;&lt;BR /&gt;Create a user named charles, log on as him, write a couple of files, then delete the user. The files can be left behind and appear to be owner less.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 19 Feb 2009 15:58:28 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2009-02-19T15:58:28Z</dc:date>
    <item>
      <title>Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158215#M455870</link>
      <description>Hello Gurus,&lt;BR /&gt;&lt;BR /&gt;I need to clear my understanding about abandoned files. I first want to understand, What are abandoned file and why does this happen? Secondly, how to prevent this to happen.&lt;BR /&gt;&lt;BR /&gt;I have an example to make this a bit more useful.. See the attached text file.&lt;BR /&gt;&lt;BR /&gt;My question is, what does the id 3836 in the place of file owner signify? Becozuse there is no user in /etc/passwd as 3836.&lt;BR /&gt;&lt;BR /&gt;Next question, how to prevent this from happening.&lt;BR /&gt;&lt;BR /&gt;If anyone has more question, please ask me. I need to resolve this issue.&lt;BR /&gt;&lt;BR /&gt;Thank You.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ashish</description>
      <pubDate>Thu, 19 Feb 2009 15:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158215#M455870</guid>
      <dc:creator>AL_3001</dc:creator>
      <dc:date>2009-02-19T15:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158216#M455871</link>
      <description>Look in older backups of /etc/passwd file for user with id 3836.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 19 Feb 2009 15:42:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158216#M455871</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2009-02-19T15:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158217#M455872</link>
      <description>The user who used to correspond to uid 3836 has been removed from /etc/passwd but the files owned by this user were left behind, that is why use 3836 as the owner.  You can use the find command to clean them out:  find /home /tmp /var/tmp -user 3836 |xargs rm -rf&lt;BR /&gt;&lt;BR /&gt;The way to prevent this is to clean out the files when the user is removed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 19 Feb 2009 15:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158217#M455872</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-02-19T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158218#M455873</link>
      <description>This can occur when files are moved from one system to another via tar or another archiver.  The user 3836 was the numeric user ID who owned the files on the other system, but when the files are restored on your system the "3836" is shown by ls and ll because that's the information in the files' directory entries.  If you had a username assigned to 3836 on your system, that username would show up instead of 3836.&lt;BR /&gt;&lt;BR /&gt;In other words, these files may not be "abandoned", rather they were never "adopted" in the first place by a real user on your system.</description>
      <pubDate>Thu, 19 Feb 2009 15:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158218#M455873</guid>
      <dc:creator>Michael Mike Reaser</dc:creator>
      <dc:date>2009-02-19T15:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158219#M455874</link>
      <description>"why you see 3836", not "why use 3836".  Sorry.</description>
      <pubDate>Thu, 19 Feb 2009 15:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158219#M455874</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-02-19T15:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158220#M455875</link>
      <description>you need to check the backup for the /etc/passwd to see which user was assigned this userid.&lt;BR /&gt;&lt;BR /&gt;It is always recommended to remove the user directory files when removing the users&lt;BR /&gt;&lt;BR /&gt;#userdel -r &lt;USERNAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Thu, 19 Feb 2009 15:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158220#M455875</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-02-19T15:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158221#M455876</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I would not consider these files abandoned.&lt;BR /&gt;&lt;BR /&gt;Here is how it could happen.&lt;BR /&gt;&lt;BR /&gt;HP-UX system is integrated into Windows ADS domain. User has rights and writes a file.&lt;BR /&gt;&lt;BR /&gt;Server is booted from the domain, removed, or user is deleted in the domain controller. Suddenly files without owners.&lt;BR /&gt;&lt;BR /&gt;You can even make it happen localy.&lt;BR /&gt;&lt;BR /&gt;Create a user named charles, log on as him, write a couple of files, then delete the user. The files can be left behind and appear to be owner less.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Feb 2009 15:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158221#M455876</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-19T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158222#M455877</link>
      <description>There is no concept of an abandoned file in Unix. 100% of all user IDs associated with a file are numbers. The /etc/passwd file provides a user-friendly translation for processes such as ls -l so you don't have to remember that a particular filed owned by 364 is associated with a user login name.&lt;BR /&gt; &lt;BR /&gt;Created files are associated (by default) to the current user's number and stored that way in the directory. Just like /etc/hosts which associates a long IP address with one or more computer names, /etc/passwd is used to translate the number to a user login ID. You can change any file (with appropriate permissions) to any number in the UID range, like this:&lt;BR /&gt; &lt;BR /&gt;touch /tmp/uid_test&lt;BR /&gt;ll /tmp/uid_test&lt;BR /&gt;chown 12345 /tmp/uid_test&lt;BR /&gt;ll /tmp/uid_test &lt;BR /&gt;rm -i /tmp/uid_test &lt;BR /&gt; &lt;BR /&gt;AS you can see, you can change the ownership of a file or directory to any number. Whether this number corresponds to a user ID in your /etc/passwd file is not checked, nor should it be. If you need the file, assign the file to the proper owner.</description>
      <pubDate>Fri, 20 Feb 2009 01:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158222#M455877</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-02-20T01:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding abandoned files seen in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158223#M455878</link>
      <description>Thanks a lot.</description>
      <pubDate>Thu, 09 Apr 2009 10:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-abandoned-files-seen-in-hp-ux/m-p/5158223#M455878</guid>
      <dc:creator>AL_3001</dc:creator>
      <dc:date>2009-04-09T10:54:07Z</dc:date>
    </item>
  </channel>
</rss>

