Re: Can't remove file as root
From: Bob Lawson (blawson@parkridge.on.ca)Date: 02/23/02
- Next message: Michael Heiming: "Re: Can't remove file as root"
- Previous message: Sven Vermeulen: "Re: Can't remove file as root"
- In reply to: Teddy: "Can't remove file as root"
- Next in thread: Michael Heiming: "Re: Can't remove file as root"
- Reply: Michael Heiming: "Re: Can't remove file as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: blawson@parkridge.on.ca (Bob Lawson) Date: Sat, 23 Feb 2002 15:14:23 GMT
On Sat, 23 Feb 2002 13:29:33 +0100, Teddy <bla@bla.bla> 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
>
>Thanks for Help
>
>Teddy
To be totally sure you must reinstall/recover from backups.
It sounds line they might have changed the userid of root, so although
you are loggin in as root you do not have root permissions. Root
might have been changed to another user.
Check the password file for this. You can fix it by booting off the
emergency boot diskette and editing the password file.
Bob Lawson
Parkridge Consulting
Innovative Unix & Linux Solutions
Visit us at www.parkridge.on.ca
blawson@parkridge.on.ca
- Next message: Michael Heiming: "Re: Can't remove file as root"
- Previous message: Sven Vermeulen: "Re: Can't remove file as root"
- In reply to: Teddy: "Can't remove file as root"
- Next in thread: Michael Heiming: "Re: Can't remove file as root"
- Reply: Michael Heiming: "Re: Can't remove file as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|