Re: Setting up a ssh service

2007-02-24 Thread Web Developer

I had made these instructions copied off somewhere a while back for
setting up sshd service on windows...

add a new entry to system variables:
New variable name is CYGWIN, variable value is ntsec

Also add to the Path system variable and click the "Edit" edit button
and append to it:
;c:\cygwin\bin


open cygwin...
(make sure openssh is installed, if not get it by running cygwin's setup.exe)
Run:

ssh-host-config  (on slower computers, it may take several minutes to generate 
the dsa keys)

When the script asks you about "privilege separation", answer yes
When the script asks you about "install sshd as a service", answer yes
When the script asks you for "CYGWIN=" your answer is ntsec

start the sshd service

net start sshd

(or

cygrunsrv  -S  sshd)



harmonize Windows user information with cygwin, otherwise users cannot
log into shh.
mkpasswd creates a password file from Windows' user list...include
Windows security information, but the actual passwords are determined
by Windows, not by the content of /etc/passwd.
mkgroup creates a group file from Windows' user list

mkpasswd   --local   >   /etc/passwd
mkgroup   --local>   /etc/group



enjoy,
Arian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



'service serviceName start|stop|restart' command available in cygwin?

2007-03-08 Thread Web Developer

I was going through and installing some commands in cygwin that I am
used to using in linux like chkconfig, etc.
And I was wondering if there was 'service' command avilable and if so,
in what package?

Thanks!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: copy-paste

2007-03-09 Thread Web Developer

hah yeh that has teed me off as well for past few years with XP as well...
if you can figure out a way to do it via XP's cmd.exe also as well
cygwin's command line, would be great.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: copy-paste

2007-03-09 Thread Web Developer

hah i figured it out after so many years, good old google...

Open up a Cygwin Bash Shell and click on Properties in (click top left
corner in command window), then the Options tab, and check Quick Edit
Mode...

Same applies to XP cmd window. open up a cmd window and goto
properties, and then Options Tab, and check Quick Edit Mode

Enjoy,
Arian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



email list

2007-03-17 Thread Web Developer

Hello all,
Can we not get this list to add [cygwin] to beginning of the email subject?
All other lists do it i have; just annoying to look at cygwin list
emails in gmail and trying to figure out where it came from without
setting up email filter or clicking the email itself.

Thanks,
Arian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/