OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / shadow / draft / man8 / newusers.8
1 .\"$Id: newusers.8,v 1.5 2002/09/22 21:04:17 jm Exp $
2 .\" Copyright 1991 - 1994, Julianne Frances Haugh
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
14 .\"    may be used to endorse or promote products derived from this software
15 .\"    without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" SUCH DAMAGE.
28 .\"
29 .\" Japanese Version Copyright (c) 1996 HANATAKA Shinya
30 .\"         all rights reserved.
31 .\" Translated Wed Nov 20 17:42:39 JST 1996
32 .\"         by HANATAKA Shinya
33 .\" Modified Sun 22 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
34 .\"
35 .TH NEWUSERS 8
36 .\"O .SH NAME
37 .SH Ì¾Á°
38 .\"O \fBnewusers\fR - update and create new users in batch
39 newusers \- ¥æ¡¼¥¶¤Î¿·µ¬ºîÀ®¤ä¾ðÊ󹹿·¤ò¥Ð¥Ã¥Á½èÍý¤Ç¹Ô¤¦
40 .\"O .SH SYNOPSIS
41 .SH ½ñ¼°
42 \fBnewusers\fR [\fInew_users\fR]
43 .\"O .SH DESCRIPTION
44 .SH ÀâÌÀ
45 .\"O \fBnewusers\fR reads a file of user name and cleartext password pairs
46 .\"O and uses this information to update a group of existing users or to
47 .\"O create new users.
48 .\"O Each line is in the same format as the standard password file (see
49 .\"O \fBpasswd\fR(5)) with the following exceptions.
50 \fBnewusers\fR ¤Ï¥æ¡¼¥¶Ì¾¤Èʿʸ¥Ñ¥¹¥ï¡¼¥É¤È¤ÎÁȤòµ­¤·¤¿¥Õ¥¡¥¤¥ë¤òÆɤߡ¢
51 ¤½¤Î¾ðÊó¤ò¤â¤È¤Ë´û¸¤Î¥æ¡¼¥¶¾ðÊó¤ÎÊѹ¹¤ä¿·µ¬¥æ¡¼¥¶¤ÎºîÀ®¤ò¹Ô¤¦¡£
52 ¤³¤Î¥Õ¥¡¥¤¥ë¤Î½ñ¼°¤Ï¡¢
53 ²¼µ­¤ÎÅÀ¤ò½ü¤­É¸½àŪ¤Ê¥Ñ¥¹¥ï¡¼¥É¥Õ¥¡¥¤¥ë
54 (\fBpasswd\fR(5) »²¾È) ¤ÈƱ¤¸¤Ç¤¢¤ë¡£
55 .IP "\fIpw_passwd\fR" 10
56 .\"O This field will be encrypted and used as the new value
57 .\"O of the encrypted password.
58 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤¬°Å¹æ²½¤µ¤ì¡¢¿·¤·¤¤°Å¹æ²½¥Ñ¥¹¥ï¡¼¥É¤È¤Ê¤ë¡£
59 .IP "\fIpw_age\fR"
60 .\"O This field will be ignored for shadow passwords if the user already
61 .\"O exists.
62 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ï shadow ¥Õ¥¡¥¤¥ë¸þ¤±¤Î¾ðÊó¤Ç¤¢¤ë¤¬¡¢
63 ¥æ¡¼¥¶¤¬¤¹¤Ç¤Ë¸ºß¤¹¤ë¾ì¹ç¤Ï̵»ë¤µ¤ì¤ë¡£
64 .IP "\fIpw_gid\fR"
65 .\"O This field may be the name of an existing group, in which case the
66 .\"O named user will be added as a member.  If a non-existent numerical
67 .\"O group is given, a new group will be created having this number.
68 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ë´û¸¤Î¥°¥ë¡¼¥×¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢
69 ¥æ¡¼¥¶¤Ï¤½¤Î¥°¥ë¡¼¥×¤Ë²Ã¤¨¤é¤ì¤ë¡£
70 ¸ºß¤·¤Ê¤¤¥°¥ë¡¼¥× ID ¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢
71 ¤½¤Î¥°¥ë¡¼¥× ID ¤Ç¿·¤¿¤Ê¥°¥ë¡¼¥×¤¬ºîÀ®¤µ¤ì¤ë¡£
72 .IP "\fIpw_dir\fR"
73 .\"O This field will be checked for existence as a directory and a new
74 .\"O directory with the same name will be created if it does not already exist.
75 .\"O The ownership of the directory will be set to be that of the user
76 .\"O being created or updated.
77 ¤³¤Î¥Õ¥£¡¼¥ë¥É¤Ç»ØÄꤷ¤¿¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¹¤Ç¤Ë¸ºß¤¹¤ë¤«¥Á¥§¥Ã¥¯¤·¡¢
78 ¤â¤·Â¸ºß¤·¤Ê¤±¤ì¤Ð¿·¤¿¤Ë¥Ç¥£¥ì¥¯¥È¥ê¤¬ºî¤é¤ì¤ë¡£
79 ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î½êÍ­¼Ô¤Ï¡¢
80 ¿·µ¬ºîÀ®¤µ¤ì¤¿¥æ¡¼¥¶¡¢¤¢¤ë¤¤¤Ï¾ðÊó¤¬Êѹ¹¤µ¤ì¤¿¥æ¡¼¥¶¤È¤Ê¤ë¡£
81 .PP
82 .\"O This command is intended to be used in a large system environment where
83 .\"O many accounts are updated at a single time.
84 ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢Æ±»þ¤ËÂçÎ̤Υ¢¥«¥¦¥ó¥È¤òºîÀ®¤¹¤ë¤è¤¦¤Ê¡¢
85 Â絬ÌϤʥ·¥¹¥Æ¥à´Ä¶­¤ÇÍѤ¤¤ë¤¿¤á¤Ëºî¤é¤ì¤¿¡£
86 .\"O .SH CAVEATS
87 .SH ·Ù¹ð
88 .\"O The input file must be protected since it contains unencrypted passwords.
89 ÆþÎÏ¥Õ¥¡¥¤¥ë¤Ë¤Ï°Å¹æ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ñ¥¹¥ï¡¼¥É¤¬´Þ¤Þ¤ì¤ë¤¿¤á¡¢
90 ŬÀÚ¤ËÊݸ¤Æ¤ª¤«¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
91 .\"O .SH SEE ALSO
92 .SH ´ØÏ¢¹àÌÜ
93 .BR passwd (1),
94 .BR useradd (8)
95 .\"O .SH AUTHOR
96 .SH Ãø¼Ô
97 Julianne Frances Haugh (jockgrrl@ix.netcom.com)