Hello,
I have an external tool running automations on windows servers.
The tool connects the windows servers via Cygwin ssh and executing bash script
(it copies the script automatically to the tmp folder and executes it).
Lately one of our automations started deleting the .ssh folder and I'm not
Update:
- I tried installing cygserver as a service but problem persists.
- Also tried verifying the user in the domain with net user. While getent fails
to find my user, net user finds it with no issues.
- Tried installing and configuring krb5-workstation but it didn’t help as well.
Will appreci
Hi,
Well it might help, but since I don't have this installed in any other envs and
everything is working fine I prefer to try as a last resort.
If I won't be able to find the root cause I'll try this as well.
Thanks!
>> Why do I need cygserver?
> You don't exactly NEED cygserver. But if you hav
again this is not a final solution
anyway.
There is AV software installed on any of these servers.
Feel free to send me the additional info you mentioned.
Thanks a lot for the help!
Much appreciated!
-Original Message-
From: Maayan Apelboim [mailto:maayan.apelb...@clarizen.com]
Sent
Thanks. What happens is that in the non-working scenario the user name is
refused by Cygwin because it's apparently not in the primary domain of the
machine. I.e., if the machine's primary domain is "dom0", and "user1" is in
"dom1", then the account has to be called "dom1+user1". The name on
Since I can't reproduce this problem, would you mind trying to run getent under
strace? It would be helpful to get 2 strace outputs for the same account, one
working, one failing. Call it like this:
$ strace -o getent-1.trace getent passwd
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Mai
Is "UK" the name of the local machine or the name of your domain?
How does your /etc/nsswitch.conf file look like?
Do you still have /etc/passwd and /etc/group files? If so, does removing the
files change the above behaviour? If so, can you attach both files verbatim to
your reply?
Thanks,
You aren't running Cygwin Cygserver and I don't see your nsswitch setup.
P.S.
Also, please no top-posting in this list.
Hi, Andrey!
Sorry for top posting, my bad :)
I have the default nsswitch - This is my configuration:
# /etc/nsswitch.conf
#
#This file is read once by the fi
...@outlook.com]
Sent: Thursday, October 17, 2019 3:23 PM
To: Maayan Apelboim ; 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 u
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.
sday, May 28, 2019 6:15 PM
To: cygwin@cygwin.com
Subject: Re: getent doesn't show all domain users
On 2019-05-28 02:36, Maayan Apelboim wrote:
>> Systems may have tens to hundreds of local user accounts, and domains
>> may have hundreds to hundreds of thousands of user account
Systems may have tens to hundreds of local user accounts, and domains may have
hundreds to hundreds of thousands of user accounts.
The system probably caches only active users, and getent enumerates those if no
/etc/passwd file exists, as it was designed to enumerate only a few entries
from loca
Hello,
I have a server in the domain (duplicated from another domain if it matters).
At first "getent passwd" run I see the user from the different domain, but
after a few runs it disappears.
Even after it disappears getent doesn't return all domain users while mkpasswd
-d returns all users.
Whe
To: cygwin@cygwin.com
Subject: Re: is it possible to install "prev" package when using command line?
Maayan Apelboim writes:
> Or maybe a way to install new cygsshd as sshd?
Just delete the service and reinstall with the same settings under the new name
or change the setup script to u
Hello,
I'm trying to install Cygwin via command line.
Works great, except it installs latest version of openssh in which the sshd
service is installed as "cygsshd" instead "sshd".
Is there a way to install the previous version of openssh via command line?
Something like this?
setup-x86_64.exe -a
If password auth or `passwd -R' auth is used you'll have the "4(INTERACTIVE)"
group in your `id' output. If S4ULogon is used you'll have the "2(NETWORK)"
group in your `id' output. This is one way to identify which logon method has
been used.
I always get 4(INTERACTIVE) - with p
When you login with stored password, Cygwin performs the same LogonUser call as
if you login with password, so the same user token is generated.
Off the top of my head I don't know why it shouldn't work for you. You sure
you have the correct password stored? When you login and call `id', what
, 2019 2:28 PM
To: cygwin@cygwin.com
Subject: Re: can't access remote shares when using ssh with rsa key - passwd -R
/ set(e)uid / LogonUser is not working as expected
On Mar 6 10:09, Maayan Apelboim wrote:
> Well, it doesn't work OK unfortunately, but I'm not sure if I missed
&g
e)uid / LogonUser is not working as expected
Maayan Apelboim writes:
> To my understanding this feature should be working in older versions
> as well.
If it works OK with 2.11.2, then wait a few moments for 3.0.2 to appear and it
should work the same, plus you can then run the service u
, Andrey Repin wrote:
>> Greetings, Maayan Apelboim!
>>
>> > Hi,
>>
>> > I hope I'm mailing the proper mailing list..
>> > I am using password-less ssh login using RSA key to login windows servers
>> > from linux.
>> > I've
Hi,
I hope I'm mailing the proper mailing list..
I am using password-less ssh login using RSA key to login windows servers from
linux.
I've read this article about network shares problems when using RSA key instead
password and decided method 2 is most suitable for my case:
https://cygwin.com/cy
21 matches
Mail list logo