MKPASSWD(1) CYGWIN MKPASSWD(1) SYNOPSIS mkpasswd [options] [domain] OPTIONS Usage: mkpasswd [OPTION]... [domain] This program prints a /etc/passwd file to stdout Options: -l,--local print local user accounts -d,--domain print domain accounts (from current domain if no domain specified) -o,--id-offset offset change the default offset (10000) added to uids in domain accounts. -g,--local-groups print local group information too if no domain specified -m,--no-mount don't use mount points for home dir -s,--no-sids don't print SIDs in GCOS field (this affects ntsec) -p,--path-to-home path if user account has no home dir, use path instead of /home/ -u,--username username only return information for the specified user -?,--help displays this message One of `-l', `-d' or `-g' must be given on NT/W2K. DESCRIPTION The mkpasswd program can be used to help configure your Windows system to be more UNIX-like by creating an initial /etc/passwd substitute (some commands need this file) from your system information. It only works on NT. To initially set up your machine, you'd do something like this: $ mkdir /etc $ mkpasswd -l > /etc/passwd Note that this information is static. If you change the user information in your system, you'll need to regenerate the passwd file for it to have the new information. The -d and -l options allow you to specify where the information comes from, either the local machine or the default (or given) domain. COPYRIGHT Cygwin is Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. Cygwin is Free software; for complete licensing informa- tion, refer to: http://cygwin.com/licensing.html MAINTAINER This man page was written and is maintained by Joshua Daniel Franklin, joshuadfranklin@yahoo.com SEE ALSO The full documentation to the Cygwin Utilities is main- tained on the web at: http://cygwin.com/cygwin-ug-net/using-utils.html The website is updated more frequently than the man pages and should be considered the authoritative source of information. 2002 Apr 12 MKPASSWD(1)