logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nsscache - synchronise a local NSS cache with an upstream data source

Author

       Written by Jamie Wilkinson (jaq@google.com) and Vasilios Hoffman (vasilios@google.com).

       The source code lives at https://github.com/google/nsscache

Commands

update
       Performs an update of the configured caches from the configured sources.

       -f, --full
              force a full update from the data source

       --force
              force  the  update,  overriding  any safeguards and checks that would otherwise prevent the update
              from occurring. e.g. normally empty results from the data source are  ignored  as  bogus  --  this
              option will instruct the program to ignore its intuition and use the empty map

       -mMAPS, --map=MAPS
              NSS map to operate on, can be supplied multiple times

       -h, --help
              show help for the update command

   verify
       Perform verification of the built caches and validation of the system NSS configuration.

       -mMAPS, --map=MAPS
              NSS map to operate on, can be supplied multiple times

       -h, --help
              show help for the verify command

   status
       Show  the  last update time of each configured cache, and other metrics, optionally in a machine-readable
       format.

       -mMAPS, --map=MAPS
              NSS map to operate on, can be supplied multiple times

       -h, --help
              show help for the status command

   repair
       Verify  that  the  configuration  is  correct,  that  the  source  is  reachable,  then  perform  a  full
       synchronisation of the cache.

       -mMAPS, --map=MAPS
              NSS map to operate on, can be supplied multiple times

       -h, --help
              show help for the repair command

   help
       Shows online help for each command.

Description

nsscache  synchronises  a  local  NSS  cache  against  a  remote  data  source.  This approach allows the
       administrator to separate the network from the NSS lookup codepath, improving speed  and  reliability  of
       name services.

Files

/etc/nsscache.conf
              The system-wide configuration file

       /etc/nsswitch.conf
              The system name service switch configuration file

Name

       nsscache - synchronise a local NSS cache with an upstream data source

Options

       Global options alter general program behaviour:

       -v, --verbose
              enable verbose output

       -d, --debug
              enable debugging output

       -cFILE, --config-file=FILE
              read configuration from FILE

       --version
              show program's version number and exit

       -h, --help
              show this help message and exit

See Also

nsscache.conf(5)

       nsswitch.conf(5)

Synopsis

nsscache [globaloptions] command [commandoptions]

See Also