[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: locate / privacy/security
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: locate / privacy/security
- From: Sven <debeuk_(_at_)_gmail_(_dot_)_com>
- Date: Sun, 26 Dec 2004 14:48:54 +0100
- Reply-to: Sven <debeuk_(_at_)_gmail_(_dot_)_com>
On Sun, 26 Dec 2004 14:23:55 +0200, Thanos Tsouanas <thanos_(_at_)_sians_(_dot_)_org> wrote:
> I was wandering if there is away to run locate and have it
> respect permissions.
It does; the database is built as user nobody. If your homedir is not
world readable it won't show up in de database.
> I mean, i can locate /root and see what's on root's dir, and
> generally u can locate whatever i want regardless from it's
Check your permissions for /root, something is not right.
[sven_(_at_)_bedrock ~]$ ls -ld /root
drwx------ 5 root wheel 512 Oct 31 17:59 /root/
I can't reproduce that behaviour here.
[sven_(_at_)_bedrock ~]$ sudo ls /root
.cshrc .profile .klogin .login
[sven_(_at_)_bedrock ~]$ locate /root
> I think it should be disabled by default, or only enabled for
> root to run..
> Any ideas?
> Thanos Tsouanas <thanos_(_at_)_sians_(_dot_)_org> .: Sians
> http://thanos.sians.org/ .: http://www.sians.org/
Why are the pretty ones always insane?
-- J.G. Thirlwell
Visit your host, monkey.org