It works fine for other users as much as I can tell. The problem seems to be with one specific user.
myUser@dom1-job11 ~ $ getent passwd myUser myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash myUser@dom1-job11 ~ $ getent passwd user1 myUser@dom1-job11 ~ $ myUser@dom1-job11 ~ $ getent passwd user1 myUser@dom1-job11 ~ $ myUser@dom1-job11 ~ $ myUser@dom1-job11 ~ $ getent passwd myUser myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash myUser@dom1-job11 ~ $ getent passwd myUser myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash myUser@dom1-job11 ~ $ getent passwd myUser myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash myUser@dom1-job11 ~ $ getent passwd myUser myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash myUser@dom1-job11 ~ $ getent passwd myUser myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash From: Jose Isaias Cabrera [mailto:jic...@outlook.com] Sent: Thursday, October 17, 2019 3:23 PM To: Maayan Apelboim <maayan.apelb...@clarizen.com>; cygwin@cygwin.com Subject: Re: getent doesn't work properly Maayan Apelboim, on Thursday, October 17, 2019 05:02 AM, wrote... > > 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. > myUser@dom1-job11 ~ > $ getent passwd user1 > user1:*:1049703:1049089:U-UK\user1,S-1-5-21-892078619-2706518417-4190201681-1127:/home/user1:/bin/bash Do me a favor and try, getent passwd myUser and see if that works better. Thanks. josé -- 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