Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't unlink a file ??? (hacked...)

Status
Not open for further replies.

skanx

Technical User
Dec 16, 2000
5
FR
following a security problem (been hacked...), I have some files who belong to the "reboot" group. The problem is that these are some files in the /var/log : messages, xferlog, etc...

I can't change their group :
#chgrp root /var/log/messages returns :
chgrp: you are not a member of group `root': Operation not permitted
although i'm root and member of root! (i tried newgrp root, no success...)

and I can't delete them :
#rm -f /var/log/messages returns :
rm: cannot unlink `/var/log/messages': Operation not permitted

what can I do to change the group ???
any help greatly appreciated :)

 
that was the lsattr and chattr commands (attributes) I had to use...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top