Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: "Tomasz Rojek" Subject: Re: OpenSSH Date: Fri, 29 Oct 2004 19:51:57 +0200 Lines: 19 Message-ID: References: X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: mp.siemens.pl X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-IsSubscribed: yes > 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/