[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#3027: updatedb can't run properly

Package: base
Version: 1.1.0-7

Hi Everyone.

In the /etc/passwd nobody has a shell of /dev/null.  However, updatedb will
not run as nobody because it tells me this message when I do it manually
(hence the find crontab in cron.daily won't work):

[root@kaos:1:~] su nobody -c "cd / && updatedb"
su: cannot run /dev/null: Permission denied

When I change the shell to /bin/sh or /bin/false (the latter probobly being
the better one) it works fine.  For your information, this is a brand new
installation as of two days ago.

Karl Ferguson <karl@tower.net.au>                Tel: +61-9-455-3446
                                                 Fax: +61-9-455-2776
Network Manager,                                 A/h: +61-9-480-5958
Tower Networking Pty Ltd (ACN: 072 322 760)   | Internet Providers and |
t/a STAR Online Services                      |  Networking Solutions  |

Reply to: