Author

Christopher Marshall (christopherlmarshall@yahoo.com)

Raw Notes on Cygwin

# procedure for adding a new user to a cygwin installation
add user through windows control panel
mkgroup -l > /etc/group
mkpasswd -l > /etc/passwd
edit /etc/group and note which group number is for Users
edit /etc/passwd and enter Users group number for new user
create home directory
chmod -R user.Users /home/user

# the mkgroup and mkpasswd commands are part of the cygwin utilities and are not general unix commands ported to the cygwin environment.  They are at the edge of the emulated unix environment and the windows environment and bridge the gap.

# procedure to start sshd under cygwin
ssh-host-config -y
cygwin=ntsec
cygrunsrv --start sshd

# restart of sshd
cygrunsrv --stop sshd
cygrunsrv --start sshd

# you then edit /etc/sshd_config just like you would on a linux box.  Beautiful!

hopeless_linux: RawNotes/cygwin (last modified 2007-07-01 16:01:00)