Home Man
Today's Posts

SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc.

Cached account info

Login to Reply

Thread Tools Search this Thread
# 1  
Old 08-11-2014
Cached account info

A admin at work created accounts for me on about 20 SLES 11 servers. He gave me the wrong home directory. He also didn't create a home directory for me on the servers. I have root/sudo on the systems. I usually use the usermod command or just modify the /etc/passwd file to fix issues like this on Solaris or Red Hat servers. Theis not working very well on the SLES servers. It seams that my account is somehow cashed and the changes do not take affect right away. Is there a way I can force the changes to take affect sooner?
# 2  
Old 08-11-2014
What makes you think the accounts are cached (this really isn't a valid concept)? Make sure of the type of authentication...it could be directory based (like ldap).
# 3  
Old 08-11-2014
All the accounts are local accounts. There is no directory server. All I know is the account changes take a while to take affect.
# 4  
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).
# 5  
Old 08-11-2014
I looked at the /etc/nscd.conf file on both Soalris and Susie servers. The Susie servers have enable-cache set to yes on passwd, goup and services. The Solaris server has one line for the hosts which is commented out.

I will look into this some more, maybe I can find a way to edit this file so I don't have this issue any more.
# 6  
Old 08-11-2014
With the following it should clear the passwd cache if /etc/passwd is changed
reload-count  0

check-files  passwd  yes

# 7  
Old 08-11-2014
I just restart nscd if I can't wait. BTW recent redhat uses sssd instead.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
What happens to your skype account if you close outlook.com email account? milhan Windows & DOS: Issues & Discussions 0 01-22-2018 02:37 PM
Simultaneously try to execute commands after connecting to remote account to one account kishored005 How to Post in the The UNIX and Linux Forums 1 03-03-2016 10:00 AM
GID mappings cached? bd4021 UNIX for Advanced & Expert Users 0 10-08-2010 06:45 PM
is process data cached somewhere? xyzt UNIX for Dummies Questions & Answers 3 07-20-2010 11:14 AM
Apply disk quota to account(dedicate 3 GB to account). ashokd009 Linux 1 06-17-2009 11:32 AM
Release the memory which is cached. siba.s.nayak UNIX for Dummies Questions & Answers 1 12-18-2008 07:00 AM
Change Account to not lock account if password expires stringzz UNIX for Dummies Questions & Answers 1 04-04-2008 05:31 PM
Is there any way to know info about who else in the account umen UNIX for Dummies Questions & Answers 1 02-09-2007 02:30 AM
how to remove cached squid?? balu UNIX for Dummies Questions & Answers 1 08-20-2001 02:57 PM

All times are GMT -4. The time now is 01:03 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password