Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-14-2003, 08:47 AM   #1
Registered: Sep 2003
Distribution: Slackware 10.1, Slamd64 10.1, IpCop 1.4
Posts: 125

Rep: Reputation: 15
Question Run updatedb as nobody?

I'm setting up a new computer, and for the first time I actually want to run updatedb as nobody instead of root. However, every time I try to run updatedb as nobody, I get
fatal error: updatedb: You are not authorized to create a default slocate database!
I've never run updatedb as any other user on this machine, and I tried touching /var/lib/slocate/slocate.db and then chmod it to 666.

Can anyone tell me what I need to do to make this work?


(oh yeah, Slack 9.1)
Old 10-14-2003, 10:36 AM   #2
Registered: Jun 2003
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
chown -R nobody /var/lib/slocate

might do the job
Old 10-14-2003, 06:50 PM   #3
Registered: Sep 2003
Distribution: Slackware 10.1, Slamd64 10.1, IpCop 1.4
Posts: 125

Original Poster
Rep: Reputation: 15
Nope, that doesn't do the trick. Both the slocate directory and slocate.db are owned by nobody now and it still gives me the same error. It's not a very descriptive error, and the man pages are minimal at best. I've done a google search, and it turned up nothing. The strangest thing is that updatedb is set to run as a nobody cron job in a default Slackware installation, but as far as I can tell, it would never run.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Do I need to run updatedb each time I search for a file or folder? lennysokol Linux - Software 4 05-30-2005 10:49 PM
What's the difference between 'updatedb' and 'updatedb&' ?? DreameR-X Linux - Newbie 4 12-18-2004 04:36 PM
When i run rsync and updatedb: get LDAP authentication error topcat Linux - Software 1 11-21-2004 02:45 AM
updatedb mikedeatworld Linux - Software 21 09-16-2004 10:59 PM
updatedb pezplaya Fedora 2 01-05-2004 05:32 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration