From owner-freebsd-questions Tue Feb 20 10:32:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id 8BA8437B491 for ; Tue, 20 Feb 2001 10:32:15 -0800 (PST) (envelope-from mikko@dynas.se) Received: (qmail 33184 invoked from network); 20 Feb 2001 18:32:13 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by 172.16.1.1 with SMTP; 20 Feb 2001 18:32:13 -0000 Received: (qmail 17912 invoked from network); 20 Feb 2001 18:32:11 -0000 Received: from explorer.rsa.com (10.81.217.59) by spirit.dynas.se with SMTP; 20 Feb 2001 18:32:11 -0000 Received: (from mikko@localhost) by explorer.rsa.com (8.11.1/8.11.1) id f1KIWBt68046; Tue, 20 Feb 2001 10:32:11 -0800 (PST) (envelope-from mikko) Date: Tue, 20 Feb 2001 10:32:11 -0800 (PST) From: Mikko Tyolajarvi Message-Id: <200102201832.f1KIWBt68046@explorer.rsa.com> To: danm@prime.gushi.org Cc: questions@freebsd.org Subject: Re: Things linux has (suggestion/question). Newsgroups: local.freebsd.questions References: X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In local.freebsd.questions you write: >I was working with a linux system the other day and I noticed a couple >things that I was looking to see if it was possible to port to freeBSD. >1. Linux has a locate utility called slocate, which (A) rebuilds its >database MUCH faster and (B) allows you to search with your privileges >(for example, if you type locate as root, you can search the whole drive, >whereas another user would not be able to see in things like user >homedirs, etc). Unless the code is totally Linux-centric (an ever-increasing possibility nowadays), it should be a small matter of someone being interested enough to create a port. Hmm... from your description, it sounds like a security hole waiting to happen. >2. I was on a cobalt (I know, shoot me later, this is a good idea), and I >noticed that the passwd utility did many more checks (did a dictionary >check, checked for not enough different characters, etc) than the BSD one >does. Is there any way to add this type of functionality? Fascist passwd? Bah! Get smarter users :-) This should be doable as a PAM module, but a look at the source reveals that passwd does not seem to be pam:ified. For the time being, you can control some password parameters from login.conf(5). $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message