From owner-freebsd-security Wed Sep 12 22:14:58 2001 Delivered-To: freebsd-security@freebsd.org Received: from gatekeeper.ph.inter.net (team.ph.inter.net [203.176.75.3]) by hub.freebsd.org (Postfix) with ESMTP id EE99D37B413; Wed, 12 Sep 2001 22:14:39 -0700 (PDT) Received: from portalone (unknown [192.168.88.228]) by gatekeeper.ph.inter.net (Postfix) with SMTP id 1DF1743D44; Thu, 13 Sep 2001 13:14:39 +0800 (PHT) Message-ID: <014e01c13c13$59fd4420$e458a8c0@ph.inter.net> From: "louie miranda" To: "alexus" , , References: <000b01c13bcb$2639da10$0d00a8c0@alexus> <009601c13c0c$90714120$e458a8c0@ph.inter.net> <000901c13c0e$fa086f30$0100a8c0@alexus> Subject: Re: protecting /sbin and /usr/local/sbin Date: Thu, 13 Sep 2001 13:17:15 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org then chmod 0 /sbin/* the files ;) hehe. louie miranda (axishift.ath.cx) ------------------------------------------ Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) ----- Original Message ----- From: "alexus" To: "louie miranda" ; ; Sent: Thursday, September 13, 2001 12:45 PM Subject: Re: protecting /sbin and /usr/local/sbin > people usually don't look for directory where files are.. they just run > them... > > ----- Original Message ----- > From: "louie miranda" > To: "alexus" ; ; > > Sent: Thursday, September 13, 2001 12:28 AM > Subject: Re: protecting /sbin and /usr/local/sbin > > > > > > At first : > > > > luwi@freebsd /> ls -la /sbin /usr/local/sbin > > > > its shows all the files on the dir.. > > > > > > now try > > > > luwi@freebsd /> chmod o-r /usr/sbin/ /sbin/ > > > > They can still access the file/program in the /sbin/ usr/sbin/ directory > > > > but when they do "ls -l" on it, > Access Denied! :) > > > > man chmod > > > > > > :) > > > > > > > > > > > > louie miranda (axishift.ath.cx) > > ------------------------------------------ > > Security Is A Series Of Well-Defined Steps > > > > chmod -R 0 / ; and smile :) > > > > > > > > ----- Original Message ----- > > From: "alexus" > > Cc: ; > > Sent: Thursday, September 13, 2001 4:40 AM > > Subject: protecting /sbin and /usr/local/sbin > > > > > > > hi > > > > > > i noticed some people are trying to use some files from /sbin and > > > /usr/local/sbin to retrive some info.. > > > > > > i was wondering if i'll do > > > > > > chmod o-rwx /sbin/* /usr/local/sbin/* > > > > > > Will it do any damages? or i simply can't do this? > > > > > > thank you > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message