Re: rm files owned by root?

2005-01-02 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > if you are in group adm and the /home allows adm group to write to it, > you will be able to remove the directory "test? inside /home/ Yes, thats what this thread is about. I can remove an *empty* dir, even if i dont have permissions inside the dir. All

Re: dokument

2005-01-02 Thread contact
Alles klar, deine eMail ist eingegangen und wird so schnell wie möglich bearbeitet.. by(e) sp4 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: rm files owned by root?

2005-01-02 Thread Stephen Gran
This one time, at band camp, Luis M said: > if you are in group adm and the /home allows adm group to write to it, > you will be able to remove the directory "test? inside /home/ > > to be "right" you will need to do this: > > as root: > chmod 0700 /home > mkdir /home/test > chmod 0 /home/test >

Re: rm files owned by root?

2005-01-02 Thread Luis M
if you are in group adm and the /home allows adm group to write to it, you will be able to remove the directory "test? inside /home/ to be "right" you will need to do this: as root: chmod 0700 /home mkdir /home/test chmod 0 /home/test ls -ld /home/test should show root:root owner of /home/test a

Re: rm files owned by root?

2005-01-02 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > Removing a directory requires write permission on the directory > itself, because you have to delete the "." and ".." links inside the > directory. no: [EMAIL PROTECTED]:~# mkdir /home/test [EMAIL PROTECTED]:~# chmod 0 /home/test [EMAIL PROTECTED]:~# ls

Re: rm files owned by root?

2005-01-02 Thread Thomas Bushnell BSG
Florian Weimer <[EMAIL PROTECTED]> writes: > * Ulrich FÃrst: > > > Bernd Eckenfels <[EMAIL PROTECTED]> wrote: > >> This is a Unix FAQ. You can delete any file if you have write access > >> to the directory. Actually you dont delete the file, you remove the > >> "link" to the > > > > So if my /ho

Re: rm files owned by root?

2005-01-02 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > Not on linux. Well, he can of course remove the directory entry with a fs debug tool or disk editor. But thats not possible with user rights w/o raw access richts to the device. However I think sys_unlink wont do it. I was looking for the source but this

Re: rm files owned by root?

2005-01-02 Thread Michael Stone
On Sun, Jan 02, 2005 at 10:33:00AM -0500, David Mandelberg wrote: Bernd Eckenfels wrote: But to delete a directory, it must be empty. That's not completely true. You can unlink() (delete) a directory without it being empty. rmdir won't do it, but it's possible. Not on linux. Mike Stone -- To UNSUBS

Re: rm files owned by root?

2005-01-02 Thread David Mandelberg
Bernd Eckenfels wrote: > But to delete a directory, it must be empty. That's not completely true. You can unlink() (delete) a directory without it being empty. rmdir won't do it, but it's possible. Note: don't do this unless absolutely necessary, and always remount the volume ro and fsck it after u

Re: rm files owned by root?

2005-01-02 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > So if my /home/ is 775 and root.users and I'm in the group users I can > delete everybody's home directory? You need write access to the /home dir, then you can delete other uses homes. But to delete a directory, it must be empty. And you cant empty it i

Re: File System Integrity Checker for Sarge

2005-01-02 Thread Steve Kemp
On Sun, Jan 02, 2005 at 11:20:30PM +1100, Declan Mullen wrote: > I'm looking for a file system integrity checker for Sarge. There seem to > be many to choose from (eg sXid, AIDE, TripWire, integrit and samhain). > > Is there one that stands out as being easy to configure/tune for Sarge ?

Re: rm files owned by root?

2005-01-02 Thread Florian Weimer
* Ulrich Fürst: > Bernd Eckenfels <[EMAIL PROTECTED]> wrote: >> This is a Unix FAQ. You can delete any file if you have write access >> to the directory. Actually you dont delete the file, you remove the >> "link" to the > > So if my /home/ is 775 and root.users and I'm in the group users I can >

Re: rm files owned by root?

2005-01-02 Thread Ulrich Fürst
Bernd Eckenfels <[EMAIL PROTECTED]> wrote: > This is a Unix FAQ. You can delete any file if you have write access > to the directory. Actually you dont delete the file, you remove the > "link" to the So if my /home/ is 775 and root.users and I'm in the group users I can delete everybody's home di

Re: File System Integrity Checker for Sarge

2005-01-02 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > Is there one that stands out as being easy to configure/tune for Sarge ? integrit is pretty easy methinks. Greetings Bernd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: File System Integrity Checker for Sarge

2005-01-02 Thread J.A. de Vries
On 2005-01-02 @ 23:20:30 (week 53) Declan Mullen wrote: > Hi, > > I'm looking for a file system integrity checker for Sarge. There seem to > be many to choose from (eg sXid, AIDE, TripWire, integrit and samhain). > > Is there one that stands out as being easy to configure/tune for Sarge ? > >

Re: File System Integrity Checker for Sarge

2005-01-02 Thread Luis M
Tripwire in sarge works very well. I also like fcheck. It's very fast and it does it's job. >From apt-cache show fcheck: Description: IDS filesystem baseline integrity checker The fcheck utility is an IDS (Intrusion Detection System) which can be used to monitor changes to any given filesyste

File System Integrity Checker for Sarge

2005-01-02 Thread Declan Mullen
Hi, I'm looking for a file system integrity checker for Sarge. There seem to be many to choose from (eg sXid, AIDE, TripWire, integrit and samhain). Is there one that stands out as being easy to configure/tune for Sarge ? To date the only one I've used is Tripwire (on Redhat). Regards, Declan --

unsubscribe

2005-01-02 Thread Barry de Greef
On 30 Dec 2004 at 16:39, Martin Schulze wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - -- > Debian Security Advisory DSA 619-1 [EMAIL PROTECTED] > http://www.debian.org/security/