Re: Cygwin 1069 logon error

2011-04-06 Thread Frento Burton
Actually guys, I have found the problem. For some strange reason, when
trying to start the script from cywgin, the root password is altered. If I
start the service from the windows control panel under 'services' and change
the log-in properties of the cygwin sshd service, I see that the password is
incorrect. After correcting the password, I am able to successfully start
the service ONLY from the 'service' control panel. I was also able to ssh
into the Windows image from my management node so that indicates the cygwin
sshd service is working correctly.

Thanks again for all your help guys, I will probably be back before you know
it with more questions :)


Re: Cygwin 1069 logon error

2011-04-06 Thread Frento Burton
Ok, the command dos2unix /home/root/cygwin-sshd-config.sh allows me to run
the script without the 'unexpected token {\r' error. However I still get the
error message 'System error 1069 has occurred. The service did not start due
to a logon failure." I have changed my Windows root password to an
alphanumeric password but I get the same message...


Re: Cygwin 1069 logon error

2011-04-06 Thread Andy Kurth
The password should be the actual password of the root account on the 
Windows computer.  The quotes around the password are only necessary if 
it contains special characters.


It looks like your cygwin-sshd-config.sh contains Windows line breaks. 
You'll see the 'unexpected token {\r' error when this is the case.  This 
will happen in some circumstances if you save it under Windows.  The 
file must only contain Unix line breaks in order to work.  Run this 
command on the Windows computer in the Cygwin shell then try to run the 
script again:

dos2unix /home/root/cygwin-sshd-config.sh

-Andy

On 4/5/2011 3:25 PM, Frento Burton wrote:

I'm installing VCL on my fedora 13 desktop and I have created a Windows
XP virtual machine. I am trying to run the cygwin-sshd-config.sh script.
I set the file as an executable then proceed to run the command
/home/root/cygwin-sshd-config.sh ''. Everything goes smooth
until the last step in which I receive a Win32 1069 logon failure. I
wasn't sure if  was suppose to be the actual root password I
use to logon to my Windows XP virtual machine or a new password
specifically for cygwin-sshd-confg.sh. I read around on a couple of
forms that the password to run sshd should be at least 5 - 8 characters
and alphanumeric. If this is so than my Windows XP root password does
not meet that criteria.

Also, when I try to simply run the command again i get this error message;

/home/root/cygwin-sshd-config.sh: line 46: syntax error near unexpected
token ' {\r' '
'home/root/cygwin-sshd-config.sh: line 46: 'function set_config {

Has anyone encountered this problem before? Your input is greatly
appreciated...


Re: Cygwin 1069 logon error

2011-04-05 Thread Alexander Patterson
Hello Frento,

The /home/root/cygwin-sshd-config.sh 'Your windows XP root password"
for the image.

It's best create the account and call it root within your Windows XP image

then in the windows image set the root user name with the "Password"

for example "R00tvcl1" would be a password you can set in Windows for
the root account. Then on your managment node run the
/home/root/cygwin-sshd-config.sh 'R00tvcl1' if you can ssh into it
without a password you know it's working.

-Alex

On Tue, Apr 5, 2011 at 12:25 PM, Frento Burton  wrote:
> I'm installing VCL on my fedora 13 desktop and I have created a Windows XP
> virtual machine. I am trying to run the cygwin-sshd-config.sh script. I set
> the file as an executable then proceed to run the command
> /home/root/cygwin-sshd-config.sh ''. Everything goes smooth until
> the last step in which I receive a Win32 1069 logon failure. I wasn't sure
> if  was suppose to be the actual root password I use to logon to
> my Windows XP virtual machine or a new password specifically for
> cygwin-sshd-confg.sh. I read around on a couple of forms that the password
> to run sshd should be at least 5 - 8 characters and alphanumeric. If this is
> so than my Windows XP root password does not meet that criteria.
>
> Also, when I try to simply run the command again i get this error message;
>
> /home/root/cygwin-sshd-config.sh: line 46: syntax error near unexpected
> token ' {\r' '
> 'home/root/cygwin-sshd-config.sh: line 46: 'function set_config {
>
> Has anyone encountered this problem before? Your input is greatly
> appreciated...
>



-- 
Thanks,
Alex  Patterson
User Support Services
Operating System Analyst
California State University, East Bay


Cygwin 1069 logon error

2011-04-05 Thread Frento Burton
I'm installing VCL on my fedora 13 desktop and I have created a Windows XP
virtual machine. I am trying to run the cygwin-sshd-config.sh script. I set
the file as an executable then proceed to run the command
/home/root/cygwin-sshd-config.sh ''. Everything goes smooth until
the last step in which I receive a Win32 1069 logon failure. I wasn't sure
if  was suppose to be the actual root password I use to logon to
my Windows XP virtual machine or a new password specifically for
cygwin-sshd-confg.sh. I read around on a couple of forms that the password
to run sshd should be at least 5 - 8 characters and alphanumeric. If this is
so than my Windows XP root password does not meet that criteria.

Also, when I try to simply run the command again i get this error message;

/home/root/cygwin-sshd-config.sh: line 46: syntax error near unexpected
token ' {\r' '
'home/root/cygwin-sshd-config.sh: line 46: 'function set_config {

Has anyone encountered this problem before? Your input is greatly
appreciated...