Saturday, May 05, 2012

Adding current user in Cygwin under a domain account

If you are in a domain, it is sometimes the case that running mkpasswd -d takes an extremely great amount of time. If you want to add only the current user, try the following.

mkpasswd -c >>/etc/passwd
mkgroup -c >>/etc/passwd


Create a home directory

mkdir /home/<username>

Reference (http://cygwin.com/ml/cygwin/2009-01/msg00709.html)

No comments: