<?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: any user can modify files owned by root!!! in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587152#M18808</link>
    <description>Thanks for your input, here are the results.&lt;BR /&gt;&lt;BR /&gt;Checked SUID on vi, not there.&lt;BR /&gt;&lt;BR /&gt;some examples of what non root users can do&lt;BR /&gt;$ cd /root&lt;BR /&gt;permission=750 root root /root&lt;BR /&gt;&lt;BR /&gt;$ cat /etc/shadow&lt;BR /&gt;permission=600 root root /etc/shadow&lt;BR /&gt;&lt;BR /&gt;$ vi /etc/passwd&lt;BR /&gt;permission=644 root root /etc/passwd&lt;BR /&gt;&lt;BR /&gt;sudo is not involved. If I try to use it, it promps me for root password.(sudo vi /etc/passwd)&lt;BR /&gt;&lt;BR /&gt;powerbroker is not installed.</description>
    <pubDate>Thu, 21 Jul 2005 13:43:00 GMT</pubDate>
    <dc:creator>Masaki Birchmier</dc:creator>
    <dc:date>2005-07-21T13:43:00Z</dc:date>
    <item>
      <title>any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587139#M18795</link>
      <description>I adopted a linux system where any user can read/modify/remove files with permission &lt;BR /&gt;-rw-r--r-- root root &lt;BR /&gt;(but not files owned by other users). It's a huge security issue and I need help resolving this ASAP.&lt;BR /&gt;&lt;BR /&gt;In /etc/group I have nothing out of the ordinary:&lt;BR /&gt;root:x:0:root&lt;BR /&gt;sys:x:3:root,bin.adm&lt;BR /&gt;adm:x:4:root,adm,daemon&lt;BR /&gt;&lt;BR /&gt;There is nothing in /etc/sudoers that would allow this...&lt;BR /&gt;&lt;BR /&gt;I've browsed at some of the pam files, comparing it with another system and didn't see anything, (but I'm not an expert in this area and could of missed something)&lt;BR /&gt;&lt;BR /&gt;If anyone has any suggestions what might be causing this I would greatly appreciate it.&lt;BR /&gt;&lt;BR /&gt;masaki&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jul 2005 13:45:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587139#M18795</guid>
      <dc:creator>Masaki Birchmier</dc:creator>
      <dc:date>2005-07-20T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587140#M18796</link>
      <description>I'm pretty sure that users cannot modify the contents of the file listed, but they can delete because the deletion permission is dictated by the directory that contains the file. So, if the directory has write permissions for the user/group/others, then user/group/other can delete files in the directory, even when they are not owners of has no permissions on the file.</description>
      <pubDate>Wed, 20 Jul 2005 15:52:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587140#M18796</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-20T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587141#M18797</link>
      <description>Read and remove, sure.&lt;BR /&gt;&lt;BR /&gt;You've got global +r, so anybody can read it.&lt;BR /&gt;&lt;BR /&gt;And Ivan's post covered the removal.&lt;BR /&gt;&lt;BR /&gt;But I highly doubt you can 'modify' the contents of one of these files.</description>
      <pubDate>Wed, 20 Jul 2005 22:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587141#M18797</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-20T22:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587142#M18798</link>
      <description>By looking @ the perms bits it seems that all have read access and only root or the file creator has write perms which implies that he is the person who can delete/remove it.</description>
      <pubDate>Thu, 21 Jul 2005 01:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587142#M18798</guid>
      <dc:creator>Guru Dutta</dc:creator>
      <dc:date>2005-07-21T01:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587143#M18799</link>
      <description>I'll go the other way round.&lt;BR /&gt;&lt;BR /&gt;Change your root password.</description>
      <pubDate>Thu, 21 Jul 2005 03:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587143#M18799</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-21T03:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587144#M18800</link>
      <description>The symptom is that normal users take on the permissions of root user.&lt;BR /&gt;I assure you they can modify any file as long as root owns the file and has write permissions like /etc/passwd !&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jul 2005 07:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587144#M18800</guid>
      <dc:creator>Masaki Birchmier</dc:creator>
      <dc:date>2005-07-21T07:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587145#M18801</link>
      <description>The only way that this could happen is that other users, besides root, have UID 0 in /etc/passwd (if its local authentication). Verify that no other user except root has UID 0 (3rd value).</description>
      <pubDate>Thu, 21 Jul 2005 12:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587145#M18801</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-21T12:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587146#M18802</link>
      <description>Check the UID values of the users.&lt;BR /&gt;&lt;BR /&gt;There should only be 1 UID=0 and that is root.&lt;BR /&gt;&lt;BR /&gt;Here is a script that can help. Modify as needed since original inception was in NIS environment.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jul 2005 12:42:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587146#M18802</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-21T12:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587147#M18803</link>
      <description>Yup, I already checked for uid=0 in /etc/passwd.  &lt;BR /&gt;&lt;BR /&gt;One additional info is that although normal users can modify root owned files, they can not run root commands. It doesn't seem to matter what the group ownership/permissions are set to.</description>
      <pubDate>Thu, 21 Jul 2005 12:43:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587147#M18803</guid>
      <dc:creator>Masaki Birchmier</dc:creator>
      <dc:date>2005-07-21T12:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587148#M18804</link>
      <description>Only root has uid=0&lt;BR /&gt;There are several groupid=0,&lt;BR /&gt;sync, shutdown, halt, opertor. I think these are OK.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jul 2005 12:49:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587148#M18804</guid>
      <dc:creator>Masaki Birchmier</dc:creator>
      <dc:date>2005-07-21T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587149#M18805</link>
      <description>Do you know the specific commands that users use to modify the files?&lt;BR /&gt;&lt;BR /&gt;Maybe, the commands, like vi, have the set user id bit enabled (SUID). You will see an "s" in the permissions:&lt;BR /&gt;&lt;BR /&gt;-rwsr-xr-x   5 root      root       331552 Jun 16  2004 /bin/vi</description>
      <pubDate>Thu, 21 Jul 2005 13:07:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587149#M18805</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-21T13:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587150#M18806</link>
      <description>Are the passwds secured?&lt;BR /&gt;Is sudo in play? How about PowerBroker?&lt;BR /&gt;&lt;BR /&gt;Do the visudo command. This will display the sudoers file. Any clues?&lt;BR /&gt;&lt;BR /&gt;Check the sudoers log file - if you have the sudo.conf file setup.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jul 2005 13:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587150#M18806</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-21T13:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587151#M18807</link>
      <description>You can use the following command to find suid files:&lt;BR /&gt;&lt;BR /&gt;find / -user root -perm -4000 -ls&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jul 2005 13:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587151#M18807</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-21T13:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587152#M18808</link>
      <description>Thanks for your input, here are the results.&lt;BR /&gt;&lt;BR /&gt;Checked SUID on vi, not there.&lt;BR /&gt;&lt;BR /&gt;some examples of what non root users can do&lt;BR /&gt;$ cd /root&lt;BR /&gt;permission=750 root root /root&lt;BR /&gt;&lt;BR /&gt;$ cat /etc/shadow&lt;BR /&gt;permission=600 root root /etc/shadow&lt;BR /&gt;&lt;BR /&gt;$ vi /etc/passwd&lt;BR /&gt;permission=644 root root /etc/passwd&lt;BR /&gt;&lt;BR /&gt;sudo is not involved. If I try to use it, it promps me for root password.(sudo vi /etc/passwd)&lt;BR /&gt;&lt;BR /&gt;powerbroker is not installed.</description>
      <pubDate>Thu, 21 Jul 2005 13:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587152#M18808</guid>
      <dc:creator>Masaki Birchmier</dc:creator>
      <dc:date>2005-07-21T13:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587153#M18809</link>
      <description>Verify the acl's, use&lt;BR /&gt;&lt;BR /&gt;getfacl /etc/passwd</description>
      <pubDate>Thu, 21 Jul 2005 14:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587153#M18809</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-21T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587154#M18810</link>
      <description>Verify the acl's (if exists), use&lt;BR /&gt;&lt;BR /&gt;getfacl /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Verify that you don't have installed a rootkit. Use the rpm -V command to check the integrity of the commands in the system, and if they changed.</description>
      <pubDate>Thu, 21 Jul 2005 14:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587154#M18810</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-21T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587155#M18811</link>
      <description>You should download and install chkrootkit&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.chkrootkit.org/" target="_blank"&gt;http://www.chkrootkit.org/&lt;/A&gt;</description>
      <pubDate>Thu, 21 Jul 2005 14:23:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587155#M18811</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-07-21T14:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587156#M18812</link>
      <description>what was the output of 'id' when running those commands earlier?&lt;BR /&gt;&lt;BR /&gt;Also, what terminal were you on?  the console? ssh'd in?</description>
      <pubDate>Thu, 21 Jul 2005 14:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587156#M18812</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-21T14:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587157#M18813</link>
      <description>It's not an ACL issue, specifically checked a few items and there are no ACL's involved.&lt;BR /&gt;&lt;BR /&gt;chkrootkit, interesting tool, ran it but did not detect anything.&lt;BR /&gt;&lt;BR /&gt;The userid can be any number, and all root files are available to them.&lt;BR /&gt;&lt;BR /&gt;I've verified that the symptom exists when connected with ssh, and telnet.&lt;BR /&gt;&lt;BR /&gt;Masaki</description>
      <pubDate>Mon, 25 Jul 2005 12:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587157#M18813</guid>
      <dc:creator>Masaki Birchmier</dc:creator>
      <dc:date>2005-07-25T12:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: any user can modify files owned by root!!!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587158#M18814</link>
      <description>maybe check Your /etc/shadow or /etc/passwd.master.&lt;BR /&gt;&lt;BR /&gt;try to enable kernel auditing (SELinux extensions) and create an audit trail of the file accesses.</description>
      <pubDate>Mon, 25 Jul 2005 12:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/any-user-can-modify-files-owned-by-root/m-p/3587158#M18814</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-07-25T12:55:28Z</dc:date>
    </item>
  </channel>
</rss>

