delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/02/03:15:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <tiroy AT poczta DOT onet DOT pl>
Subject: Re: OpenSSH
Date: Fri, 29 Oct 2004 19:51:57 +0200
Lines: 19
Message-ID: <cm7fma$v9c$1@sea.gmane.org>
References: <loom DOT 20041028T135722-803 AT post DOT gmane DOT org> <u8y9qgabd DOT fsf AT gmail DOT com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019