[GE users] can't get password entry for user either the user does not exist or NIS error

pollinger harald.pollinger at sun.com
Wed Jun 24 15:07:04 BST 2009


Well, INAA, too, and you are the one who has the fine Ubuntu man pages 
available.

But I would try to replace the "compat" string in the "passwd:" line 
with "files". I'm not sure if this fixes the problem, but I'd try it.

Regards,
Harald


On 06/24/09 15:49, muxecoid wrote:
> Your answer is Chinese to me (I'm not a real network administrator). What should I do? nsswitch.conf says NIS for netgroup. Here is the nsswitch.conf:
> 
> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc-reference' and `info' packages installed, try:
> # `info libc "Name Service Switch"' for information about this file.
> 
> passwd:         compat
> group:          compat
> shadow:         compat
> 
> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
> networks:       files
> 
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
> 
> netgroup:       nis
> 
> 
>> This error message just tells you that the getpwnam_r(3C) failed. You 
>> don't need NIS to solve this, you just have to set up your user DB in a 
>> way that getpwnam_r(3C) can retrieve the informations of the user from it.
>>
>> What your user DB is should be defined in /etc/nsswitch.conf.
>>
>> Regards,
>> Harald
>>
>> On 06/24/09 14:49, muxecoid wrote:
>>> The error message is "can't get password entry for user either the
>>> user does not exist or NIS error". I want to get rid of this with
>>> least effort possible. I do not have NIS installed so I just copied
>>> the user names, UIDs and passwords over all machines (only 3 of them)
>>> manually.
>>>
>>> I tried to install NIS but I do not know what it is and it appears to
>>> be very hard to configure.
>>>
>>> Any easy workarounds?

-- 
Sun Microsystems GmbH         Harald Pollinger
Dr.-Leo-Ritter-Str. 7         Sun Grid Engine Engineering
D-93049 Regensburg            Phone: +49 (0)941 3075-209  (x60209)
Germany                       Fax: +49 (0)941 3075-222  (x60222)
http://www.sun.com/gridware
mailto:harald.pollinger at sun.com
Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=203303

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list