> IMO, you should do as following:
>   $ mkpasswd -l -c >/etc/passwd
>   $ mkgroup -l -c >/etc/group
>
> Use -d option if you want to add domain user.
If your AD contains lots of users and groups then I would suggest this
option:

$ mkpasswd -l -c -d | grep 'your_user_name' >>/etc/passwd
$ mkgroup -l -c -d | grep 'your_group_name' >>/etc/group

WFM

-- 
Greetings

Tomasz Rojek




--
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/

Reply via email to