Nov 11, 2009

how to create a user in cygwin ?

Problem:
how to create a user in cygwin ?
useradd and adduser does not works in cygwin.

Solution:
you cannot create a user in cygwin.
create user in windows
login using that user in windows and run load cygwin. it will load in new user created.
do mkpasswd -l > /etc/passwd
then edit /etc/passwd and change the home dir to what ever you want

No comments:

Post a Comment