Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: User can delete root's file from user's home directory |
|---|---|
| Date: | Thu, 28 Oct 2004 13:57:11 -0400 |
You can make the file immutable with "chattr +i" ----- Original Message ----- From: "Imre" <jimbo@mailbox.hu> To: <security-basics@securityfocus.com> Sent: Thursday, October 28, 2004 7:29 AM Subject: User can delete root's file from user's home directory
Hello I have a big problem. On my system I have 2 users, root and a test-user named test. I made this: (as root, in /home/test) # touch testfile # echo probe > testfile After this I type 'ls -l' and get: test:/home/test# ls -l total 4 -rw-r--r-- 1 root root 6 Oct 28 13:27 testfile OK, it's default, right? But my problem starts here: test@test:~$ ls -l total 4 -rw-r--r-- 1 root root 6 Oct 28 13:27 testfile test@test:~$ rm testfile rm: remove write-protected file `testfile'? y teszt@teszt:~$ ls -l total 0 teszt@teszt:~$ I don't want to delete files and directories from my ~ which made by root. Could anyone help me? (Sorry about my english, usually only read this language) Thanks Jimbo
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: possible rooted systems, Beauford, Jason |
|---|---|
| Next by Date: | Re: Securing Redhat Apache 2.0, Dan Barr |
| Previous by Thread: | User can delete root's file from user's home directory, Imre |
| Next by Thread: | RE: User can delete root's file from user's home directory, Alexandre Skyrme |
| Indexes: | [Date] [Thread] [Top] [All Lists] |