This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: OpenSSH
- From: "Tomasz Rojek" <tiroy at poczta dot onet dot pl>
- To: cygwin at cygwin dot com
- Date: Fri, 29 Oct 2004 19:51:57 +0200
- Subject: Re: OpenSSH
- References: <loom.20041028T135722-803@post.gmane.org> <u8y9qgabd.fsf@gmail.com>
> 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/