This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OpenSSH


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]