NSCD(8) | Manual do Programador do Linux | NSCD(8) |
NOME¶
nscd - 'cache' de nome de serviços 'daemon'
DESCRIÇÃO¶
nscd é um 'daemon' que disponibiliza um 'cache' para solicitações dos nomes de serviços mais comuns. O arquivo de configuração padrão /etc/nscd.conf determina o comportamento do 'cache daemon'. Veja nscd.conf(5).
nscd provides caching for accesses of the passwd(5), group(5), hosts(5) services(5) and netgroup databases through standard libc interfaces, such as getpwnam(3), getpwuid(3), getgrnam(3), getgrgid(3), gethostbyname(3), and others.
There are two caches for each database: a positive one for items found, and a negative one for items not found. Each cache has a separate TTL (time-to-live) period for its data. Note that the shadow file is specifically not cached. getspnam(3) calls remain uncached as a result.
OPÇÕES¶
- --help
- dará à você uma lista com todas opções e o que elas fazem.
NOTAS¶
The daemon will try to watch for changes in configuration files appropriate for each database (e.g., /etc/passwd for the passwd database or /etc/hosts and /etc/resolv.conf for the hosts database), and flush the cache when these are changed. However, this will happen only after a short delay (unless the inotify(7) mechanism is available and glibc 2.9 or later is available), and this auto-detection does not cover configuration files required by nonstandard NSS modules, if any are specified in /etc/nsswitch.conf. In that case, you need to run the following command after changing the configuration file of the database so that nscd invalidates its cache:
$ nscd -i <database>
VEJA TAMBÉM¶
COLOFÃO¶
Esta página faz parte da versão 4.16 do projeto Linux man-pages. Uma descrição do projeto, informações sobre relatórios de bugs e a versão mais recente desta página podem ser encontradas em https://www.kernel.org/doc/man-pages/. A tradução para português brasileiro desta página man foi criada por Ricardo C.O.Freitas <english.quest@best-service.com> e André Luiz Fassone <lonely_wolf@ig.com.br> Esta tradução é uma documentação livre; leia a ou posterior para as condições de direitos autorais. Nenhuma responsabilidade é aceita. Se você encontrar algum erro na tradução desta página de manual, envie um e-mail para a lista de discussão de tradutores:
7 maio 2015 | GNU |