<?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: Users permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459239#M13480</link>
    <description>looking at your permissions , of your .profile rwx for user/owner of the file and nothing for the others or group will not be able to change your .profile. One thing you can check is the date stamp of the file and then do a last to find out which users were logged in at that particular time ( have you got a history file , you can check this to see if any commands which suggest the change of your .profile).&lt;BR /&gt;&lt;BR /&gt;The other thing to note is the permissions of the home directory i.e. if you have 777 permisions , other users will be able to cd into your directory and create files . &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 30 Oct 2000 13:26:46 GMT</pubDate>
    <dc:creator>Devbinder Singh Marway</dc:creator>
    <dc:date>2000-10-30T13:26:46Z</dc:date>
    <item>
      <title>Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459235#M13476</link>
      <description>I work on an hp server with hpux 10.20.&lt;BR /&gt;Is it posible someone else (with the same group with me e.x. users) to change (write) my .profile. &lt;BR /&gt;Note : The .profile is -rwx------.</description>
      <pubDate>Mon, 30 Oct 2000 11:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459235#M13476</guid>
      <dc:creator>George_8</dc:creator>
      <dc:date>2000-10-30T11:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459236#M13477</link>
      <description>No, It is only superuser that can modify the file with that permission</description>
      <pubDate>Mon, 30 Oct 2000 11:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459236#M13477</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-10-30T11:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459237#M13478</link>
      <description>If your .profile is -rwx------ then only the owner (and root) has permissions to write to it.&lt;BR /&gt;&lt;BR /&gt;Could it be that you have more than one user with the same id number - check /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 30 Oct 2000 11:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459237#M13478</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-10-30T11:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459238#M13479</link>
      <description>No, nobody can modify your .profile if the permissions are the ones you indicate.&lt;BR /&gt;&lt;BR /&gt;federico&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Oct 2000 11:52:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459238#M13479</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2000-10-30T11:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459239#M13480</link>
      <description>looking at your permissions , of your .profile rwx for user/owner of the file and nothing for the others or group will not be able to change your .profile. One thing you can check is the date stamp of the file and then do a last to find out which users were logged in at that particular time ( have you got a history file , you can check this to see if any commands which suggest the change of your .profile).&lt;BR /&gt;&lt;BR /&gt;The other thing to note is the permissions of the home directory i.e. if you have 777 permisions , other users will be able to cd into your directory and create files . &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Oct 2000 13:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459239#M13480</guid>
      <dc:creator>Devbinder Singh Marway</dc:creator>
      <dc:date>2000-10-30T13:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459240#M13481</link>
      <description>Question to the responders,&lt;BR /&gt;&lt;BR /&gt;what about if the other account had the (admittedly, highly unlikely) write permission on George's home directory?&lt;BR /&gt;&lt;BR /&gt;Wouldn't that allow the other to at least delete (wonder if you can call this a modification) any file?&lt;BR /&gt;&lt;BR /&gt;Or am I wrong?</description>
      <pubDate>Mon, 30 Oct 2000 14:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459240#M13481</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2000-10-30T14:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459241#M13482</link>
      <description>George &amp;amp; Ralph:&lt;BR /&gt;&lt;BR /&gt;Yes, if the permissions on the directory were something like 77x, then another user could delete the profile and recreate it, and then 'chown' the ownership "away" to the directory's owner.&lt;BR /&gt;&lt;BR /&gt;The way to circumvent this is to set the sticky bit on the directory.  A better way is not to allow write access on directories that you don't have to do so!!!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 30 Oct 2000 15:08:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459241#M13482</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-10-30T15:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459242#M13483</link>
      <description>Unix mantra: You do not understand the permissions of a file until you understand the permissions of every parent directory.&lt;BR /&gt;&lt;BR /&gt;File permissions control the CONTENT.&lt;BR /&gt;&lt;BR /&gt;Directory permissions control the EXISTENCE.&lt;BR /&gt;&lt;BR /&gt;Try this as an ordinary user:&lt;BR /&gt;&lt;BR /&gt;cd /var/tmp&lt;BR /&gt;touch testfile&lt;BR /&gt;chmod 000 testfile&lt;BR /&gt;cat testfile&lt;BR /&gt;cat: Cannot open testfile: Permission denied&lt;BR /&gt;rm testfile&lt;BR /&gt;&lt;BR /&gt;In fact, anyone can remove testfile because /var/tmp is 777 permissions (must be).  As mentioned, the sticky bit can be set which then prevents the removal of a file when you are not the owner.&lt;BR /&gt;&lt;BR /&gt;SO protection of the contents (not writable, perhaps not readable) has nothing to do with the file's existence.  The directory permissions totally control add, remove, and rename actions.</description>
      <pubDate>Tue, 31 Oct 2000 03:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459242#M13483</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-10-31T03:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Users permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459243#M13484</link>
      <description>One more way to understand File/Directory Permissions is "EVERYTHING IN UNIX IS TREATED AS A FILE" (couldn't make it bold, so highlighting with Capital letters), Like Devices, Directories etc.,. So You can only make changes to a directory file only when you have write permission. Directory file contains information about files, subdirectories with in it. The activities like deleting a file, renaming a file and moving a file and copying a file into a directory requires an entry in the directory file which requires a write permission.&lt;BR /&gt;Protect it with sticky bit on the directory which allows to have "w" permission on the directory and still only owner the file can delete the file.</description>
      <pubDate>Tue, 31 Oct 2000 06:41:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-permissions/m-p/2459243#M13484</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2000-10-31T06:41:20Z</dc:date>
    </item>
  </channel>
</rss>

