Path: blob/main/documentation/manual-pages/ja/man1/chpass.1
18093 views
.\" Copyright (c) 1988, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by the University of .\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" @(#)chpass.1 8.2 (Berkeley) 12/30/93 .\" %FreeBSD: src/usr.bin/chpass/chpass.1,v 1.37 2004/07/26 19:49:29 charnier Exp % .\" .\" $FreeBSD$ .Dd December 30, 1993 .Dt CHPASS 1 .Os .Sh ̾�� .Nm chpass , .Nm chfn , .Nm chsh , .Nm ypchpass , .Nm ypchfn , .Nm ypchsh .Nd �桼���ǡ����١�����ξ�����Խ����� .Sh �� .Nm .Op Fl a Ar list .Op Fl p Ar encpass .Op Fl e Ar expiretime .Op Fl s Ar newshell .Op user .Nm .Op Fl oly .Op Fl a Ar list .Op Fl p Ar encpass .Op Fl e Ar expiretime .Op Fl s Ar newshell .Op Fl d Ar domain .Op Fl h Ar host .Op user .Sh ���� .Nm �桼�ƥ���ƥ��� .Ar user �⤷���ϥǥե���ȤǤϼ¹Ԥ����桼���Υ桼���ǡ����١����ξ�����ѹ����ޤ��� .Pp .Nm chfn , .Nm chsh , .Nm ypchpass , .Nm ypchfn , .Nm ypchsh �桼�ƥ���ƥ��ϡ� .Nm ��Ʊ���褦��ư��ޤ� (�ץ������ϤҤȤĤ����ʤΤǤ�)�� .Pp ����ϥե����ޥåȤ��졢ɬ�פ���ʬ�ǥ������ѹ����ޤ��� .Pp �桼�����ѹ����뤳�Ȥ��Ǥ�����������ɽ������ޤ��� .Pp ���ץ����Ȥ��Ƥϡ����Τ�Τ�����ޤ�: .Bl -tag -width indent .It Fl a �����ѥ桼���ϡ��桼���ǡ����١����Υ���ȥ�� .Xr passwd 5 ��������줿�ե����ޥåȤǰ����Ȥ���ľ�ܻ���Ǥ��ޤ��� ���ΰ����ϥ����� .Pq Dq \&: �Ƕ��ڤ�줿�ꥹ�ȤǤ��ꡢ ��������ʬ�����äƤ������ޤ����� ���٤ƤΥե�����ɤ�ꥹ�Ȥˤ��ʤ���Фʤ�ޤ��� .It Fl p �����ѥ桼���ϡ��Ź沽���줿�ѥ���ɥե�����ɤ� .Xr crypt 3 ���Ѥ����Ƥ���ե����ޥåȤǰ����Ȥ���ľ�ܻ��ꤹ�뤳�Ȥ��Ǥ��ޤ��� .It Fl e Ar expiretime ��������Ȥ�̵���Ȥʤ�����ѹ����ޤ��� ���å��ǥ�������Τ褦�˥�����ץȤ��顢 ̵���Ȥʤ�����ѹ����뤿��ˡ��ܥ��ץ�������Ѥ��ޤ��� .It Fl s Ar newshell �桼���Υ������ .Ar newshell ���ѹ����褦�Ȥ��ޤ��� .El .Pp ɽ������륨��ȥ�ˤϰʲ��Τ�Τ�����ޤ�: .Pp .Bl -tag -width "Other Information:" -compact -offset indent .It Login: �桼���Υ�������̾ .It Password: �桼���ΰŹ沽���줿�ѥ���� .It Uid: �桼���� ID .It Gid: �桼���Υ��롼�� ID .It Class: �桼���ΰ���Ū��ʬ�� .It Change: �ѥ���ɤ��ѹ����� .It Expire: ��������Ȥ�ͭ������ .It Full Name: �桼���μºݤ�̾�� .It Office Location: �桼���Υ��ե����ξ�� (1) .It Office Phone: �桼���Υ��ե����������ֹ� (1) .It Home Phone: �桼���μ���������ֹ� (1) .It Other Information: �桼���˴ؤ����������������� (1) .It Home Directory: �桼���Υۡ���ǥ��쥯�ȥ� .It Shell: �桼���Υ��������� .Pp .It �� (1) - �ºݤ� master.passwd �ե�����Ǥϡ� �����Υե�����ɤϥ���ޤǶ��ڤ�줿�ե�����ɤȤ��� FullName �ե�����ɤ������ޤ�ޤ��� .El .Pp .Ar login �ե�����ɤϷ����˥�����������Ȥ��˻Ȥ���桼��̾�Ǥ��� .Pp .Ar password �ե�����ɤϥ桼���ΰŹ沽���줿�ѥ���ɤ�������Ƥ��ޤ��� .Pp .Ar uid �ե�����ɤ� .Ar login �ե�����ɤȴ�Ϣ�����ֹ�Ǥ����ե�����Υ������������椹�뤿��ˡ� �ɤ���Υե�����ɤ⥷���ƥ� (���Ф��С�ʣ���Υ����ƥ�) ����� ��դǤ���ɬ�פ�����ޤ��� .Pp ʣ���Υ���ȥ꤬Ʊ��Υ�������̾��Ʊ��Υ桼�� ID ����Ĥ��Ȥϲ�ǽ�Ǥ����� ���Τ褦�ˤ��뤳�Ȥ��̾����Ǥ��� �����Υե������������Ǥϡ� ������ʣ���Υ���ȥ��⤫��̵��٤��������Τΰ�Ĥ������֤��Ǥ��礦�� .Pp .Ar group �ե�����ɤϥ桼��������������˽�°���륰�롼�פǤ��� .Bx ��ʣ���� ���롼�פ���Ѥ��Ƥ��� ( .Xr groups 1 ����) ���Υե�����ɤϤۤȤ�ɰ�̣������ޤ��� ���Υե�����ɤ��ֹ�䥰�롼��̾ ( .Xr group 5 ����) �Τɤ��餫�����Ҥ���ޤ��� .Pp .Ar class �ե�����ɤ� .Pa /etc/login.conf �Υ��饹�˴ؤ��뵭�ҤȤ��ޤ��� ŵ��Ū�ˤϡ��桼���Υ���������ˡ� �桼���Υ����ƥ����������¤��뤿��˻��Ѥ���ޤ��� .Pp .Ar change �ե�����ɤϥѥ���ɤ��ѹ�����Ƥ���٤����դǤ��� .Pp .Ar expire �ե�����ɤϥ�������Ȥ���λ�������դǤ��� .Pp .Ar change �� .Ar expire ��ξ���Υե�����ɤ� .Dq month day year �η��������Ϥ��� .Ar month �ϡ��Ѹ�η��̾�� (�Ϥ���� 3 ʸ���Ǥ⽽ʬ�Ǥ�) �ǡ� .Ar day �ϡ����η��������ǡ� .Ar year �ϡ�����ǯ�Ǥ��� .Pp 5 �ĤΥե�����ɤϡ��桼���� .Ar �ºݤ�̾�� �� .Ar ���ե����ξ�� �� .Ar ���� �� .Ar �ȤǻȤ����� �ֹ桢������ .Ar ����¾�ξ��� ���ݴɤ��Ƥ��ޤ��� .Ar ����¾�ξ��� �ϡ�����ޤǶ��ڤä�ñ��ʸ����Ǥ��ꡢ�ɲä� gecos �ե�����ɤ�ɽ�����ޤ� (ŵ��Ū�ˤϥ����ȸ�ͭ�Υ桼������Τ���˻��Ѥ��ޤ�)�� .Xr finger 1 ���� .Ar Office: �Ȥ����إå��β��� ���ե����ξ��������ֹ��Ȥ��ɽ�����뤳�Ȥ����դ��Ƥ��������� .Pp �桼���� .Ar home directory �ϥ桼��������������ˤ�����ؤ����� .Ux �ѥ�̾�Ǥ��� .Pp .Ar shell �ե�����ɤϥ桼���ι��ॳ�ޥ�ɥ��ץ�Ǥ��� �⤷ .Ar shell �ե�����ɤ����Ǥ���С�Bourne ������ .Pa /bin/sh �Ǥ���Ȳ��ꤷ�ޤ��� ������������ѹ�����Ȥ��ˡ������ѥ桼���ǤϤʤ��桼���ϡ� ��ɸ�ॷ���뤫�顢�ޤ�����ɸ�ॷ����ؤ��ѹ��ϵ�����Ƥ��ޤ��� ��ɸ�ॷ����Ȥ� .Pa /etc/shells �Ǹ��Ĥ����ʤ�������Τ��ȤǤ��� .Pp ���پ���ǧ���줿�� .Nm �ϥ桼���ǡ����١��������뤿��� .Xr pwd_mkdb 8 ���Ѥ��ޤ��� .Sh �Ķ��ѿ� �Ķ��ѿ� .Ev EDITOR �����ꤷ��¾�Υ��ǥ�������ꤷ�Ƥ����������� .Xr vi 1 ���ǥ������Ȥ��ޤ������ǥ�������λ����ȡ����ξ���Ϻ����ɤ߹��ޤ졢 �桼���ǡ����١������ѹ����뤿��ξ���Ȥ��ޤ��� �桼���ξ�����ѹ��Ǥ���Τϡ����Υ桼���������ѥ桼���ΤߤǤ��� .Pp .Ev PW_SCAN_BIG_IDS �Ķ��ѿ�������Υ���ѥ��ȤˤĤ��Ƥϡ� .Xr pwd_mkdb 8 �������Ȥ��Ƥ��������� .Sh NIS �Ȥ���ߺ��� �����Ĥ������¤�Ŭ�Ѥ���ޤ����� .Nm �桼�ƥ���ƥ��� NIS ��Ʊ���˻Ȥ����Ȥ�Ǥ��ޤ������� .Nm �� .Xr rpc.yppasswdd 8 ���̤��� NIS �Υѥ���ɥޥå�����ѹ��Ǥ���Τϡ� �̾�ϥ桼���Υѥ���ɡ������롢GECOS �ե�����ɤ����Ǥ��� NIS �ޥ��������о�ǥ����ѥ桼���ˤ�äƵ�ư���줿��������� .Nm (Ʊ�ͤ� .Xr passwd 1 ) �ϡ��桼��������ѹ�����ӿ��쥳���ɤ��ɲäΤ���� .Xr rpc.yppasswdd 8 �����Ф���ѽ���ޤ��� �ʤ��� .Xr rpc.yppasswdd 8 �ϡ��ɤΤ褦���ѹ���Ԥ����ˤ�ѥ����ǧ�ڤ��ᤷ�ޤ��� �ѥ����̵�����ѹ���Ǥ���桼���� NIS �ޥ��������о�Υ����ѥ桼�������Ǥ�; ¾�����ƤΥ桼���ϥѥ���ɤ����Ϥ���ɬ�פ�����ޤ��� ¾�����ƤΥ桼���ˤ� NIS ���饤����� (����� NIS ���졼�֥�����) ��� root ���¤���ĥ桼����ޤޤ�ޤ��� (NIS �ޥ��������о�Υ����ѥ桼�������������Х��ѥ��Ǥ�����ͳ�ϡ� ��˴��ؤ��Τ���Ǥ�: NIS �ޥ��������Фؤ� root �����������¤��ĥ桼���� ���� NIS �ޥåפ����뤿��θ��¤���äƤ��ޤ��� ����ˤ⤫����餺�ޥåץ������ե���������Խ����뤳�Ȥ����ݤǤ��� .Pp ��: �������㳰��Ŭ�Ѥ����Τ� NIS �ޥ��������Ф� .Fx �����ƥ�λ������Ǥ���) .Pp ���η�̤Ȥ��ơ���Ҥ��㳰�������NIS �Ķ��� .Nm ��Ȥ����ˤϰʲ������¤�Ŭ�Ѥ���ޤ�: .Bl -enum -offset indent .It .Em "������� GECOS ����������ѹ��Ǥ��ޤ���" ���Ȥ� .Nm �������ѥ桼���ˤ�äƵ�ư���줿���Ǥ��äƤ�Ǥ��� ¾�Υե�����ɤ��ѹ������ݡ��Ȥ����褦�ˤʤäƤ⡢ ¾�� NIS �����ƥ�Ȥθߴ��������������������Ǥ��礦�� �����ѥ桼�������륨��ȥ���Խ����Ƥ�����ˡ� ¾�Υե�����ɤ˥ǡ�����Ƥ⡢;ʬ�ʾ���Ȥ��� (�ѥ���ɤ��㳰 -- �ʲ��Ȥ��Ƥ�������) ���ޤä��Ѵ������Ǥ��礦�� .Pp �㳰: NIS �ޥ��������о�Υ����ѥ桼���ϡ� Ǥ�դΥե�����ɤ��ѹ���������Ƥ��ޤ��� .Pp .It .Em "�ѥ����ǧ�ڤ��ᤵ��ޤ���" �ɤΤ褦���ѹ���Ԥ����ˤ� .Nm �桼�ƥ���ƥ��ϥ桼���� NIS �ѥ���ɤ��ᤷ�ޤ��� �⤷�ѥ���ɤ��ְ�äƤ����顢 �ɤΤ褦���ѹ���Ԥ��ޤ��� .Pp �㳰: NIS �ޥ��������о�Υ����ѥ桼���ϥѥ����̵�����ѹ���Ǥ��ޤ� (�����ѥ桼���ϡ���Ҥ���褦�� .Fl o �ե饰����ꤹ����ˤ�ꤳ�λ��ͤ�̵���ˤ����������Ǥ��ޤ�)�� .It .Em "�������쥳���ɤΥ�������ѥ���ɥǡ����١����ؤ��ɲäϴ�����ޤ���" NIS ��ư��Ƥ���Ȥ��ˡ������Ԥ� .Nm �桼�ƥ���ƥ��ˤ�ä� �������쥳���ɤ��������Υѥ���ɥǡ����١������ɲò�ǽ�Ǥ��� ���������������쥳���ɤ��ޥ����ѥ���ɥե�����κǸ塢 �̾�� NIS �����̤� '+' ����ȥ�θ���ɲä���뤿�ᡢ �����Ĥ��κ�������ͤޤ��� .Xr vipw 8 ��Ȥäƥ�������Υѥ���ɥե�������ѹ�����٤��Ǥ��� .Pp NIS �ޥ��������о�Υ����ѥ桼���ˤ�� NIS �ѥ���ɥޥåפؤο��쥳���ɤ��ɲä����Ĥ����Τϡ� .Xr rpc.yppasswdd 8 �����Ф� .Fl a �ե饰�դǵ�ư���줿��硢���ʤ���ɲä���Ĥ��Ƶ�ư���줿���ΤߤǤ� (�̾���ɲä���ݤ��ޤ�)�� .Nm �桼�ƥ���ƥ��� �ǥե���ȤǤϥ�������Υѥ���ɥǡ����١��������褦�Ȥ��ޤ�; NIS �ޥåפ��ѹ�������ˤ� chpass �� .Fl y �ե饰�դǵ�ư���Ƥ��������� .It .Em "�ѥ���ɤ��ѹ��ϵ��Ĥ���Ƥ��ޤ���" �桼��������ʬ�� NIS �Υѥ���ɤ��ѹ�����Ȥ��ˤ� .Xr passwd 1 �� .Xr yppasswd 1 ��Ȥ��٤��Ǥ��������ѥ桼���Ͽ������ѥ���ɤ���ꤹ�뤳�Ȥ������ �Ƥ��ޤ� (���Ȥ��� .Dq Password: �ե�����ɤ����ǥ����Υƥ�ץ졼�Ȥ� ������Ƥ��ʤ��Ƥ⡢�����ѥ桼���ϼ�ư�Dzä��뤳�Ȥ��Ǥ��ޤ�)�� �������ʤ��顢�����ѥ桼���Ǥ��äƤ�桼���θ��Υѥ���ɤ��ʤ���� .Xr rpc.yppasswdd 8 �� NIS �ޥåפι�������ݤ���Ǥ��礦�� .Pp �㳰: NIS �ޥ��������о�Υ����ѥ桼���� .Nm ����Ѥ��ơ��桼���� NIS �ѥ���ɤ��ѹ��������������Ƥ��ޤ��� .El .Pp .Nm �� NIS �ݡ��Ȥ��ƥ���ѥ��뤵�줿�Ȥ��ˡ����Ĥ����̤ʥե饰��ͭ�� �ˤʤ�ޤ�: .Bl -tag -width indent .It Fl l ��������� NIS ��ξ���Υǡ����١����˥桼����¸�ߤ��Ƥ��Ƥ⡢ �桼���Υѥ���ɾ���Υ�������Υ��ԡ��������뤳�Ȥ� .Nm �˶������ޤ��� .It Fl y .Fl l ��ȿ�Фθ��̤�����ޤ����⤷ NIS ��ư��Ƥ���С� �ǥե���ȤǤ� .Nm �� NIS �Υ���ȥ������Τǡ� ���Υե饰�Ϥޤä�����Ĺ�Ǥ��� .It Fl d Ar domain NIS �ɥᥤ�����ꤷ�ޤ��� .Nm �桼�ƥ���ƥ��ϥǥե���ȤǤϥ����ƥ�Υɥᥤ��̾����Ѥ��ޤ��� ����� .Xr domainname 1 �桼�ƥ���ƥ��ˤ����ꤵ��Ƥ��ޤ��� .Fl d ���ץ����ϡ� ���Υǥե���Ȥ����뤿�ᡢ �⤷���ϥɥᥤ��̾�����ꤵ��Ƥ��ʤ����˥ɥᥤ��̾����ꤹ�뤿��� ���ѤǤ��ޤ��� .It Fl h Ar host �䤤��碌��٤� NIS �����Ф�̾���⤷���ϥ��ɥ쥹����ꤷ�ޤ��� �̾� .Nm �� .Pa master.passwd �⤷���� .Pa passwd �ޥåפˤƻ��ꤵ��� NIS �ޥ����ۥ��Ȥ��̿����ޤ��� NIS ���饤����ȤȤ��ƹ�������Ƥ��ʤ��ۥ��Ⱦ�Ǥϡ� ���ξ������ꤹ�뤿�����ˡ���ץ������ˤϤ���ޤ���Τǡ� �桼���������ФΥۥ���̾����ꤷ�ޤ��� ���ꤹ��ۥ���̾�� NIS �ޥ��������ФǤ���ɬ�פ�̵���������դ��Ƥ�������; NIS �ɥᥤ����Υޥ���������̾�Ǥ⥹�졼�֥�����̾�Ǥ��ɤ��ΤǤ��� .Pp .Fl d ���ץ������ѻ��ˤϡ��ۥ���̾�Υǥե���Ȥ� .Dq localhost �Ǥ��� .Fl h ���ץ����� .Fl d �ȤȤ�˻��Ѥ����桼�������ꤹ��ۥ���̾�Ǥ��Υǥե���Ȥ��Ǥ��ޤ��� .Pp .It Fl o .Xr rpc.yppasswdd 8 �� RPC �١����ι����������ޤ� .Pq Dq ��⡼�� �� NIS �ޥ��������о�ǥ����ѥ桼���ˤ�굯ư���줿��硢 .Nm �����Ѥ��� RPC �١����ε�������Ѥ��� NIS �ѥ���ɥޥåפ��Ф���̵���¤��ѹ�����Ĥ��ޤ� (���ξ�� .Ux �ɥᥤ���åȤ���Ѥ��ޤ�)�� .Fl o �ե饰����Ѥ�����ˤ�� .Nm ��ɸ��ι����ᥫ�˥������Ѥ������������ޤ��� ���Υ��ץ����ϼ�˥ƥ�����Ū�Τ��������Ƥ��ޤ��� .El .Sh ��Ϣ�ե����� .Bl -tag -width /etc/master.passwd -compact .It Pa /etc/master.passwd �桼���ǡ����١��� .It Pa /etc/passwd Version 7 �ե����ޥåȤΥѥ���ɥե����� .It Pa /etc/chpass.XXXXXX �ѥ���ɥե�����Υƥ�ݥ���ѥ��ԡ� .It Pa /etc/shells ���ѤǤ��륷����Υꥹ�� .El .Sh ��Ϣ���� .Xr finger 1 , .Xr login 1 , .Xr passwd 1 , .Xr getusershell 3 , .Xr login.conf 5 , .Xr passwd 5 , .Xr pwd_mkdb 8 , .Xr vipw 8 .Rs .%A Robert Morris and .%A Ken Thompson .%T "UNIX Password security" .Re .Sh �Х� �桼���������¸�Ϥɤ���¾�ξ��ˤ���٤��Ǥ� (�������Ĥ��Ϥ����ʤ�Ǥ��礦)�� .Sh ��� .Nm �桼�ƥ���ƥ��� .Bx 4.3 Reno �����о줷�ޤ�����