Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Security Basics: Re: User can delete root's file from user's home directory

Re: User can delete root's file from user's home directory

From: kyle <kyle_at_inetconnection.com>
Date: Thu, 28 Oct 2004 14:13:14 -0500

make it sticky, so you cant remove it without a chmod, and only root can chmod
it if its owned by him
cant remember the exact number/letter to use for it, but thatll fix it
On Thursday 28 October 2004 06:29 am, Imre wrote:
> 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_at_test:~$ ls -l
> total 4
> -rw-r--r-- 1 root root 6 Oct 28 13:27 testfile
> test_at_test:~$ rm testfile
> rm: remove write-protected file `testfile'? y
> teszt_at_teszt:~$ ls -l
> total 0
> teszt_at_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
Received on Nov 01 2004

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]