Loading ...
Sorry, an error occurred while loading the content.
 

Not able to disable rpc services in rehat 7.0

Expand Messages
  • johnnytcyberwayc
    Not able to remove/edit/chmod /etc/xinet.d/rpc file Not able to delete /usr/bin/rpc file. Any idea? error mesg as below: [root@mail bin]# rm rpc rm: remove
    Message 1 of 2 , Nov 29, 2002
      Not able to remove/edit/chmod /etc/xinet.d/rpc file
      Not able to delete /usr/bin/rpc file.
      Any idea?
      error mesg as below:

      [root@mail bin]# rm rpc
      rm: remove write-protected file `rpc'? y
      rm: cannot unlink `rpc': Operation not permitted

      -rwxr-xr-x 1 root root 97093 Nov 30 09:17 rpc

      [root@mail xinetd.d]# ls -la rpc
      -rw-r--r-- 1 root root 266 Nov 30 15:48 rpc
    • Brian L. Johnson
      ... On a Linux system, in addition to permissions, files can have extended attributes. One of those attributes is the immutable attribute, which if set makes
      Message 2 of 2 , Nov 30, 2002
        The Entity currently known as johnnytcyberwayc emitted:

        >Not able to remove/edit/chmod /etc/xinet.d/rpc file
        >Not able to delete /usr/bin/rpc file.
        >Any idea?
        >error mesg as below:
        >rm: cannot unlink `rpc': Operation not permitted

        On a Linux system, in addition to permissions, files can have
        extended attributes. One of those attributes is the "immutable"
        attribute, which if set makes the file unchangeable, _even_by_root_.

        To reverse this, "chattr -i <filename>"

        For further reading, see the man pages for chattr and lsattr

        -=Brian L. Johnson, www.blj8.com=-
        ---------------------------------
        For PGP key email to: pgpkey@...
        For Geekcode email to: geekcode@...
      Your message has been successfully submitted and would be delivered to recipients shortly.