08-11-2014
Solaris and SuSE ship with nscd. That caches login shell and home directory according to /etc/nscd.conf (the passwd lines).
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
how do i remove the cache from squid automatically every day?/
ie., from /var/spool/squid/ all the directories which has been cached here and restart ONLY squid without rebooting the system, including the swap.state files
thanx in advance
cheers (1 Reply)
Discussion started by: balu
1 Replies
2. UNIX for Dummies Questions & Answers
except the 'who' command ?
i mean to know if someone doing actions in my account ? (1 Reply)
Discussion started by: umen
1 Replies
3. UNIX for Dummies Questions & Answers
I have access to 15+ UNIX boxes at work, and I do not consistently log onto all of them over time. When I do try to access one I havent been on in awhile, my account is locked as the password has expired.
I need to request to the UNIX SA's that the password expiration is 90 days and that if it... (1 Reply)
Discussion started by: stringzz
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Can any one suggest me the way how can get mamory which has been cached during a process execution without rebooting the machine? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
5. Linux
Hi ,
I am faceing lot of problem due to "disk space is not enough".
senerio is like as,
In system has 5 account.
a,b,c,d,e
say account c if very critical.
Due to other user's data, user 'c' is faceing disk space issue.
I want to dedicate 3 GB for user 'c'.
No user... (1 Reply)
Discussion started by: ashokd009
1 Replies
6. UNIX for Dummies Questions & Answers
hi
When I search a file with find, the subsequent search process takes relatively less time.
Is it cached somewhere in RAM altough the process died? (3 Replies)
Discussion started by: xyzt
3 Replies
7. UNIX for Advanced & Expert Users
We had a mapping to one UNIX box just fine, the server was changed to another UNIX box and now when mapping drives from Windows box to new UNIX box, we get the old GID associated with our Windows user. When checking on new UNIX box, we see GID of 108, which is what we want, but when we map the... (0 Replies)
Discussion started by: bd4021
0 Replies
8. How to Post in the The UNIX and Linux Forums
I have made password less connection to my remote account. and i tried to execute commands at a time. but i am unable to execute the commands.
ssh $ACCOUNT_DETAILS@$HOST_DETAILS
cd ~/JEE/*/logs/ (1 Reply)
Discussion started by: kishored005
1 Replies
9. Windows & DOS: Issues & Discussions
Hello,
Does anyone know what happens to your skype account if you close the outlook.com email account which are linked together? As you know they are both owned by Microsoft.
Thanks (0 Replies)
Discussion started by: milhan
0 Replies
NSCD(8) Linux Programmer's Manual NSCD(8)
NAME
/usr/sbin/nscd - name service cache daemon
DESCRIPTION
Nscd is a daemon that provides a cache for the most common name service requests. The default configuration file, /etc/nscd.conf, deter-
mines the behavior of the cache daemon. See nscd.conf(5).
Nscd provides caching for accesses of the passwd(5), group(5), and hosts(5) databases through standard libc interfaces, such as getpw-
nam(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.
OPTIONS
--help will give you a list with all options and what they do.
NOTES
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>
SEE ALSO
nscd.conf(5), nsswitch.conf(5)
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2008-12-05 NSCD(8)