I believe there's a restricted locate, called slocate. Then again, it looks like it's trying to do the same thing anyways, so that's what's confusing me.
Fortunately, I have no shell users =) On Wed, 18 Jul 2001, Robert Waldner wrote: > > On Wed, 18 Jul 2001 13:27:09 EDT, Mike Dresser writes: > >Every night, updatedb runs, and updates, removing something like 21000 > >files from the locatedb. Looking through the cron.daily, i see updatedb > >runs as nobody. Is there a particular danger in running this as other > >than nobody? > > On multi-user-systems, yes. > > Imagine files like > > waldner:~$ ls -al .cryptfile > -rw------- 1 waldner waldner 1073741824 Jul 17 13:32 .cryptfile > > Well, there?s no point in making files only readable by specific users/ > groups if locate would locate them just nicely for everyone ;-) > > cheers, > &rw