getent doesn't work properly

Maayan Apelboim Maayan.Apelboim@clarizen.com
Thu Oct 17 09:02:00 GMT 2019


Hi All,
I posted about this problem in the past but was unable to solve it completely.
It seems getent works intermediately. 
Sometimes it shows my user and sometimes it doesn't.
I don't think I have this problem with other users, but maybe I do and don't feel it as much cause they are less used. The user I'm looking for is the one responsible for our automations, so every time getent fails to find it, I see it in my scripts.
Any idea why this is happening?
Adding command outputs:
myUser@dom1-job11 ~
$ getent passwd user1
myUser@dom1-job11 ~
$ getent passwd user1
myUser@dom1-job11 ~
$
myUser@dom1-job11 ~
$
myUser@dom1-job11 ~
$ getent passwd user1
myUser@dom1-job11 ~
$ getent passwd user1
myUser@dom1-job11 ~
$ getent passwd user1
myUser@dom1-job11 ~
$ getent passwd user1
user1:*:1049703:1049089:U-UK\user1,S-1-5-21-892078619-2706518417-4190201681-1127:/home/user1:/bin/bash
myUser@dom1-job11 ~
$
myUser@dom1-job11 ~
$ getent passwd user1
user1:*:1049703:1049089:U-UK\user1,S-1-5-21-892078619-2706518417-4190201681-1127:/home/user1:/bin/bash
myUser@dom1-job11 ~
$ getent passwd user1
user1:*:1049703:1049089:U-UK\user1,S-1-5-21-892078619-2706518417-4190201681-1127:/home/user1:/bin/bash
myUser@dom1-job11 ~
$ getent passwd user1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 24828 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20191017/d5210a83/attachment.obj>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /