Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 00:45:55 -0400
From:      "alexus" <ml@db.nexgen.com>
To:        "louie miranda" <mirandaj@team.ph.inter.net>, <freebsd-isp@FreeBSD.ORG>, <freebsd-security@FreeBSD.ORG>
Subject:   Re: protecting /sbin and /usr/local/sbin
Message-ID:  <000901c13c0e$fa086f30$0100a8c0@alexus>
References:  <000b01c13bcb$2639da10$0d00a8c0@alexus> <009601c13c0c$90714120$e458a8c0@ph.inter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
people usually don't look for directory where files are.. they just run
them...

----- Original Message -----
From: "louie miranda" <mirandaj@team.ph.inter.net>
To: "alexus" <ml@db.nexgen.com>; <freebsd-isp@FreeBSD.ORG>;
<freebsd-security@FreeBSD.ORG>
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" <ml@db.nexgen.com>
> Cc: <freebsd-isp@FreeBSD.ORG>; <freebsd-security@FreeBSD.ORG>
> 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-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c13c0e$fa086f30$0100a8c0>