Problems with IDs

mark m.roth2006 at rcn.com
Mon Jun 8 17:11:41 UTC 2009


Matias Nicolas wrote:
> I leave u the output of nsswitch.conf file

Ok. So, are the users in /etc/password? And/or is NIS+ accessible?

	mark
> 
> [root at viruswall etc]# cat /etc/nsswitch.conf
> #
> # /etc/nsswitch.conf
> #
> # An example Name Service Switch config file. This file should be
> # sorted with the most-used services at the beginning.
> #
> # The entry '[NOTFOUND=return]' means that the search for an
> # entry should stop if the search in the previous entry turned
> # up nothing. Note that if the search failed due to some other reason
> # (like no NIS server responding) then the search continues with the
> # next entry.
> #
> # Legal entries are:
> #
> #       nisplus or nis+         Use NIS+ (NIS version 3)
> #       nis or yp               Use NIS (NIS version 2), also called YP
> #       dns                     Use DNS (Domain Name Service)
> #       files                   Use the local files
> #       db                      Use the local database (.db) files
> #       compat                  Use NIS on compat mode
> #       hesiod                  Use Hesiod for user lookups
> #       [NOTFOUND=return]       Stop searching if not found so far
> #
> 
> # To use db, put the "db" in front of "files" for entries you want to be
> # looked up first in the databases
> #
> # Example:
> #passwd:    db files nisplus nis
> #shadow:    db files nisplus nis
> #group:     db files nisplus nis
> 
> passwd:     files nisplus
> shadow:     files nisplus
> group:      files nisplus
> 
> #hosts:     db files nisplus nis dns
> hosts:      files nisplus dns
> 
> # Example - obey only what nisplus tells us...
> #services:   nisplus [NOTFOUND=return] files
> #networks:   nisplus [NOTFOUND=return] files
> #protocols:  nisplus [NOTFOUND=return] files
> #rpc:        nisplus [NOTFOUND=return] files
> #ethers:     nisplus [NOTFOUND=return] files
> #netmasks:   nisplus [NOTFOUND=return] files
> 
> bootparams: nisplus [NOTFOUND=return] files
> 
> ethers:     files
> netmasks:   files
> networks:   files
> protocols:  files nisplus
> rpc:        files
> services:   files nisplus
> 
> netgroup:   files nisplus
> 
> publickey:  nisplus
> 
> automount:  files nisplus
> aliases:    files nisplus
> 
>  
>> Date: Mon, 8 Jun 2009 10:21:41 -0500
>> From: m.roth2006 at rcn.com
>> To: redhat-list at redhat.com
>> Subject: Re: Problems with IDs
>>
>> Matias Nicolas wrote:
>>> Permissions are all the same. in passwd, group and shadow. I mean,
>>> permissions in the machine with the problem, are the same as in the machine
>>> that is working correctly. I've checked the lines within those files... they
>>> look the same as in the machine it works... I don't know what it may be...
>> Ok, next question: when did this start happening? What changed on the machine,
>> that it worked one day, and didn't the next?
>>
>> Also, are your logins *local*, or are you using ldap, or something else? What's
>> in /etc/nsswitch.conf?
>>
>> mark
>>
>> -- 
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> _________________________________________________________________
> Windows Live™: Keep your life in sync. Check it out!
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009-- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 






More information about the redhat-list mailing list