RE: Problems with mkpasswd and mkgroup

2011-10-14 Thread Edvardsen Kåre
What is the contents of the /etc/password and /etc/group files after you run the mkpasswd/mkgroup commands (as administrator)? What user can log in, but isn't in the password file? Is that user local or a domain user? The Windows account name with FULL admin privileges is servicekonto and

Re: Problems with mkpasswd and mkgroup

2011-10-14 Thread Corinna Vinschen
On Oct 14 07:39, Edvardsen Kåre wrote: What is the contents of the /etc/password and /etc/group files after you run the mkpasswd/mkgroup commands (as administrator)? What user can log in, but isn't in the password file? Is that user local or a domain user? The Windows account name

Re: Where is /bin/nologin

2011-10-14 Thread Corinna Vinschen
On Oct 13 15:44, gwodus wrote: Dawud Medina wrote: Does /bin/false serve that purpose? -- Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 Of course!!! Thanks a lot. That's what I was looking for. Thanks. Or what about creating your own

Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-14 Thread Oleksandr Gavenko
Look to my session:  gavenko+bash# echo $SHELL /bin/bash gavenko+bash# script Скрипт запущен, файл - typescript sh-4.1$ ^C sh-4.1$ exit Скрипт выполнен, файл - typescript gavenko+bash# SHELL=/bin/bash script Скрипт запущен, файл - typescript

Runtime error

2011-10-14 Thread phiroc
Hello, I have just installed cygwin on Windows 7 and I get the following runtime error once every so often: Runtime Error! Program c:\cygwin\bin\bash.exe R6016 - not enough space for thread data Furthermore, when I open a terminal and source my old .bashrc file, the following message appear

Re: Where is /bin/nologin

2011-10-14 Thread Andrey Repin
Greetings, Corinna Vinschen! Or what about creating your own /sbin/nologin, something like this: $ cat /sbin/nologin EOF #!/bin/sh if [ -f /etc/nologin.txt ] then cat /etc/nologin.txt else echo This account is currently not available. fi exit 0 EOF $ chmod

Re: 1.7.9-1 Patch command mangles permissions on windows 7

2011-10-14 Thread Ken Brown
On 10/13/2011 7:15 PM, Roger Pack wrote: Forgive me if this is a commonly reported bug, but I wasn't sure if other discussions on permissions issues were the same as this issue... $ c:\installs\cygwin\bin\patch.exe -p0 multithread_utilities_trunk.diff (Stripping trailing CRs from patch.)

Re: Where is /bin/nologin

2011-10-14 Thread Corinna Vinschen
On Oct 14 14:04, Andrey Repin wrote: Greetings, Corinna Vinschen! Or what about creating your own /sbin/nologin, something like this: $ cat /sbin/nologin EOF #!/bin/sh if [ -f /etc/nologin.txt ] then cat /etc/nologin.txt else echo This account is currently

Re: 1.7.9-1 Patch command mangles permissions on windows 7

2011-10-14 Thread Roger Pack
This could be related to the problem discussed starting at  http://cygwin.com/ml/cygwin/2009-11/msg00922.html The issue there was ACLs on the temporary directory used by patch.  The resolution of that was to set TMP and TEMP to /tmp in Cygwin's default startup files (see

Mapping underline to colour - how is the colour determined?

2011-10-14 Thread Ronald Fischer
When I (to give an example) execute a man command within a mintty window, and do the same within a normal Windows console window, I see that those words represented as underlined words in the mintty window, are represented by a different colour in the Windows console windows. I guess this

Re: openssh authentification

2011-10-14 Thread Andrew Schulman
debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Offering DSA public

Re: admin privileges when logging in by ssh?

2011-10-14 Thread Andrew Schulman
Does Windows 7 Home Premium come with a native whoami? Yes, it does. So here's what I've found. I have two users, who get different results. (1) User admin is a member of the Administrators group. He gets the expected results: whether he logs in by password or pubkey authentication, he can

RE: openssh authentification

2011-10-14 Thread Clayton Evans
debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Offering DSA

Re: openssh authentification

2011-10-14 Thread Andrew Schulman
debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1:

Re: admin privileges when logging in by ssh?

2011-10-14 Thread Corinna Vinschen
On Oct 14 11:18, Andrew Schulman wrote: When user backup logs in by ssh, he gets different results: * If he logs in by password authentication, then whoami /all shows the right user name and privileges, and he can use the privileges. See Listing 1 below. So this is fine. * If he

RE: openssh authentification

2011-10-14 Thread Clayton Evans
debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive

Re: admin privileges when logging in by ssh?

2011-10-14 Thread Corinna Vinschen
On Oct 14 20:23, Corinna Vinschen wrote: On Oct 14 11:18, Andrew Schulman wrote: So the difference AFAICT is the membership in the Administrators group. Notice also in the two listings below, that by password authentication, backup gets Mandatory Label\High Mandatory Level while

RE: Mapping underline to colour - how is the colour determined?

2011-10-14 Thread Buchbinder, Barry (NIH/NIAID) [E]
Ronald Fischer sent the following at Friday, October 14, 2011 9:18 AM When I (to give an example) execute a man command within a mintty window, and do the same within a normal Windows console window, I see that those words represented as underlined words in the mintty window, are represented by a

ssh-agent fails to create socket

2011-10-14 Thread Zdzislaw Meglicki
After the latest upgrade (yesterday) I found that ssh-agent no longer works. It looks like if fails to create a socket. Here is an illustration: gustav@Crawley 503 $ ssh-agent bash -l gustav@Crawley 501 $ ls -r /tmp ssh-zHtmAVFZ1412 gustav@Crawley 502 $ !! ls -r /tmp gustav@Crawley 503 $ env |

Re: openssh authentification

2011-10-14 Thread David Sastre
On Fri, Oct 14, 2011 at 01:43:57PM -0500, Clayton Evans wrote: debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that

Red Hat Cygwin official installation utility ?

2011-10-14 Thread Jan Chludzinski
What is this versus cygwin-dot-org ? Just tried Red Hat Cygwin official installation utility (www-dot-redhat-dot-com-slash-services-slash-custom-slash-cygwin) and their one download site (ftp-dot-ges-dot-redhat-dot-com) suffers from complete autism - i.e., totally unresponsive, ---Jan --

Re: Runtime error

2011-10-14 Thread David Sastre
On Fri, Oct 14, 2011 at 11:49:31AM +0200, phi...@free.fr wrote: Hello, I have just installed cygwin on Windows 7 and I get the following runtime error once every so often: Runtime Error! Program c:\cygwin\bin\bash.exe R6016 - not enough space for thread data Please follow the directions

RE: openssh authentification

2011-10-14 Thread Clayton Evans
debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue:

Fw: 1.7.9-1 path issues

2011-10-14 Thread David Bartlett
Hi, I have been searching for three days now for an answer to my issue and am only posting here as a last resort. Recently I updated from a thinkpad T61 to a T410 and installed cygwin on it exactly as I had on the T61. The only difference was that on the T61 I had an older version of cygwin

Re: Fw: 1.7.9-1 path issues

2011-10-14 Thread Jeremy Bopp
On 10/14/2011 15:33, David Bartlett wrote: Recently I updated from a thinkpad T61 to a T410 and installed cygwin on it exactly as I had on the T61. The only difference was that on the T61 I had an older version of cygwin installed (I'm not sure which one but it would have been from around

Re: openssh authentification

2011-10-14 Thread David Sastre
On Fri, Oct 14, 2011 at 03:28:14PM -0500, Clayton Evans wrote: I'd double-check StrictModes and PubkeyAuthentication in sshd_config. ssh-copy-id requires that password authentication is working, which is not happening, so I tried manual moving of the files Sorry, I obviously overlooked

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-14 Thread Kaz Kylheku
So SHELL env var does not exported by bash... Why? This is a bug in bash which hides broken behavior in the OS. Bash expects this to be an existing environment variable, and it usually is in normal Unix like operating systems. However, bash internally sets the variable if it is missing

RE: openssh authentification

2011-10-14 Thread Clayton Evans
ssh-copy-id requires that password authentication is working, which is not happening, so I tried manual moving of the files Sorry, I obviously overlooked that. I assume sshd_config is properly configured to allow public key authentication. Have you checked your /etc/passwd and

Re: displaying Chinese radicals

2011-10-14 Thread Kaz Kylheku
Wynfield writes: Linguis, The radicals you speak of are only a component part of a Chinese character and not the character itself, just as the little dot above a lower case 'I' is not an alphabet and doesn't have a code. Oops! http://en.wikipedia.org/wiki/List_of_Kangxi_radicals The

Invoking GUI programs over SSH

2011-10-14 Thread Quang Ong
I found this previous discussion about this issue, but it doesn't appear to work or maybe someone can elaborate on this issue. http://cygwin.com/ml/cygwin/2011-01/msg00211.html I'm trying to do the same thing, launch a GUI app over SSH on the server, not sending the display back to the ssh

Re: displaying Chinese radicals

2011-10-14 Thread Kaz Kylheku
Lingyis victor@gmail.com writes: cygwin xterm or rxvt does a good job when it comes to displaying Chinese characters, but it doesn't have fonts for all the Chinese radicals. maybe half of them show up as SQUARES. the ones that do show up i can tell cygwin did some substitutions--i.e. dug