Re: Can't remove file as root

From: bd (bdonlan@users.sf.net)
Date: 02/23/02


From: bd <bdonlan@users.sf.net>
Date: Sat, 23 Feb 2002 20:52:00 GMT

Teddy wrote:

> I have the problem, that I can't remove a file as root anymore, and I
> don't know why. The file was replaced by a hacker.
>
> root@host:/bin # ls -l ps
> -rwxr-xr-x 1 root root 13583 Feb 9 01:04 ps
> root@host:/bin # rm ps
> rm: remove `ps', overriding mode 0755? y
> rm: ps: Operation not permitted
> root@host:/bin # chmod 0700 ps
> chmod: ps: Operation not permitted

Read man chattr

-- 
A nickel ain't worth a dime anymore.
                -- Yogi Berra



Relevant Pages

  • Re: Cant remove file as root
    ... Teddy wrote: ... > I have the problem, that I can't remove a file as root anymore, and I ... > chmod: ps: Operation not permitted ... Registered Linux User #188099 ...
    (comp.security.unix)
  • Cant remove file as root
    ... I have the problem, that I can't remove a file as root anymore, and I ... The file was replaced by a hacker. ... chmod: ps: Operation not permitted ... Teddy ...
    (comp.security.unix)
  • Re: Cant remove file as root
    ... > I have the problem, that I can't remove a file as root anymore, ... The file was replaced by a hacker. ... > chmod: ps: Operation not permitted ... Unplug it NOW from ...
    (comp.security.unix)