Sponsored Content
Full Discussion: Cached account info
Operating Systems Linux SuSE Cached account info Post 302912738 by MadeInGermany on Monday 11th of August 2014 03:23:59 PM
Old 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

how to remove cached squid??

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

Is there any way to know info about who else in the account

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

Change Account to not lock account if password expires

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

Release the memory which is cached.

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

Apply disk quota to account(dedicate 3 GB to account).

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

is process data cached somewhere?

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

GID mappings cached?

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

Simultaneously try to execute commands after connecting to remote account to one account

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

What happens to your skype account if you close outlook.com email account?

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(1M)						  System Administration Commands						  nscd(1M)

NAME
nscd - name service cache daemon SYNOPSIS
/usr/sbin/nscd [-f configuration-file] [-g] [-e cachename, yes | no] [-i cachename] DESCRIPTION
nscd is a process that provides a cache for the most common name service requests. The default configuration-file /etc/nscd.conf determines the behavior of the cache daemon. See nscd.conf(4). nscd provides caching for the passwd(4), group(4), hosts(4), ipnodes(4), exec_attr(4), prof_attr(4), and user_attr(4) databases through standard libc interfaces, such as gethostbyname(3NSL), getipnodebyname(3SOCKET), gethostbyaddr(3NSL), and others. Each cache has a separate time-to-live for its data; modifying the local database (/etc/hosts, /etc/resolv.conf, and so forth) causes that cache to become invali- dated upon the next call to nscd. The shadow file is specifically not cached. getspnam(3C) calls remain uncached as a result. nscd also acts as its own administration tool. If an instance of nscd is already running, commands are passed to the running version trans- parently. In order to preserve NIS+ security, the nscd service checks the permissions on the passwd table if NIS+ is being used. If this table cannot be read by unauthenticated users, then nscd will make sure that any encrypted password information returned from the NIS+ server is sup- plied only to the owner of that password. OPTIONS
Several of the options described below require a cachename specification. Supported values are passwd, group, hosts, ipnodes, exec_attr, prof_attr, and user_attr. -f configuration-file Causes nscd to read its configuration data from the specified file. -g Prints current configuration and statistics to standard output. This is the only option executable by non-root users. -e cachename, yes|no Enables or disables the specified cache. -i cachename Invalidate the specified cache. EXAMPLES
Example 1: Stopping and restarting the nscd daemon. example# svcadm disable system/name-service-cache example# svcadm enable system/name-service-cache FILES
/etc/nscd.conf Determines athe behavior of the cache daemon ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), svcadm(1M), getspnam(3C), gethostbyname(3NSL), getipnodebyname(3SOCKET), exec_attr(4), group(4), hosts(4), ipnodes(4), nscd.conf(4), nsswitch.conf(4), passwd(4), prof_attr(4), user_attr(4), attributes(5), NOTES
The output from the -g option to nscd is subject to change. Do not rely upon it as a programming interface. The nscd service is managed by the service management facility, smf(5), under the service identifier: svc:/system/name-service-cache Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.10 30 Oct 2003 nscd(1M)
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy