👤


SuSE

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 Display Modes
    #1  
Old 08-11-2014
bitlord bitlord is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 20 May 2016, 11:47 AM EDT
Posts: 339
Thanks: 12
Thanked 44 Times in 40 Posts
Cached account info

Hello,
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?
Sponsored Links
    #2  
Old 08-11-2014
blackrageous's Unix or Linux Image
blackrageous blackrageous is offline
Registered User
 
Join Date: Jul 2013
Last Activity: 12 April 2017, 6:26 PM EDT
Location: Austin, Texas
Posts: 540
Thanks: 13
Thanked 111 Times in 108 Posts
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).
Sponsored Links
    #3  
Old 08-11-2014
bitlord bitlord is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 20 May 2016, 11:47 AM EDT
Posts: 339
Thanks: 12
Thanked 44 Times in 40 Posts
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
MadeInGermany MadeInGermany is offline Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 17 July 2018, 9:24 PM EDT
Location: Simplicity
Posts: 4,156
Thanks: 365
Thanked 1,419 Times in 1,275 Posts
Solaris and SuSE ship with nscd. That caches login shell and home directory according to /etc/nscd.conf (the passwd lines).
Sponsored Links
    #5  
Old 08-11-2014
bitlord bitlord is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 20 May 2016, 11:47 AM EDT
Posts: 339
Thanks: 12
Thanked 44 Times in 40 Posts
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.
Sponsored Links
    #6  
Old 08-11-2014
MadeInGermany MadeInGermany is offline Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 17 July 2018, 9:24 PM EDT
Location: Simplicity
Posts: 4,156
Thanks: 365
Thanked 1,419 Times in 1,275 Posts
With the following it should clear the passwd cache if /etc/passwd is changed
Code:
reload-count  0

Code:
check-files  passwd  yes

Sponsored Links
    #7  
Old 08-11-2014
Perderabo's Unix or Linux Image
Perderabo Perderabo is offline Forum Advisor  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 26 February 2016, 12:31 PM EST
Location: Ashburn, Virginia
Posts: 9,930
Thanks: 63
Thanked 474 Times in 272 Posts
I just restart nscd if I can't wait. BTW recent redhat uses sssd instead.
Sponsored Links
👤 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
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
Release the memory which is cached. siba.s.nayak UNIX for Dummies Questions & Answers 1 12-18-2008 07:00 AM
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 12:50 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?