145 lines
4.9 KiB
Groff
145 lines
4.9 KiB
Groff
.\" Copyright 1989 - 1993, John F. Haugh II
|
||
.\" 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 John F. Haugh, II
|
||
.\" and other contributors.
|
||
.\" 4. Neither the name of John F. Haugh, II 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 JOHN HAUGH 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 JOHN HAUGH 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.
|
||
.\"
|
||
.\" $Id: shadow.3,v 1.1 2001/06/16 02:35:46 kloczek Exp $
|
||
.\"
|
||
.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka
|
||
.\" all rights reserved.
|
||
.\" Translated Fri Feb 14 23:06:00 JST 1997
|
||
.\" by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
|
||
.\"
|
||
.TH SHADOW 3
|
||
.SH ̾<EFBFBD><EFBFBD>
|
||
shadow \- <20>Ź沽<C5B9><E6B2BD><EFBFBD>줿<EFBFBD>ѥ<EFBFBD><D1A5><EFBFBD>ɥե<C9A5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥ롼<D1A5><EBA1BC><EFBFBD><EFBFBD>
|
||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
#include <shadow.h>
|
||
.br
|
||
struct spwd *getspent();
|
||
.br
|
||
struct spwd *getspnam(char * name);
|
||
.br
|
||
void setspent();
|
||
.br
|
||
void endspent();
|
||
.br
|
||
struct spwd *fgetspent(FILE *fp);
|
||
.br
|
||
struct spwd *sgetspent(char *cp);
|
||
.br
|
||
int putspent(struct spwd *p,FILE *fp);
|
||
.br
|
||
int lckpwdf ();
|
||
.br
|
||
int ulckpwdf ();
|
||
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.I shadow
|
||
<EFBFBD><EFBFBD>shadow<EFBFBD>ѥ<EFBFBD><EFBFBD><EFBFBD>ɥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\fB/etc/shadow\fR<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>롣
|
||
.sp
|
||
struct spwd {
|
||
.in +.5i
|
||
.br
|
||
char *sp_namp; /* <20>桼<EFBFBD><E6A1BC><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾ */
|
||
.br
|
||
char *sp_pwdp; /* <20>Ź沽<C5B9><E6B2BD><EFBFBD>줿<EFBFBD>ѥ<EFBFBD><D1A5><EFBFBD><EFA1BC> */
|
||
.br
|
||
long sp_lstchg; /* <20>ǽ<EFBFBD><C7BD>ѥ<EFBFBD><D1A5><EFBFBD><EFA1BC><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD> */
|
||
.br
|
||
int sp_min; /* <20>ѥ<EFBFBD><D1A5><EFBFBD><EFA1BC><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ǽ<EFBFBD><C7BD><EFBFBD><EFBFBD> */
|
||
.br
|
||
int sp_max; /* <20>ѥ<EFBFBD><D1A5><EFBFBD><EFA1BC><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><D7B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||
.br
|
||
int sp_warn; /* <20>ѥ<EFBFBD><D1A5><EFBFBD>ɴ<EFBFBD><C9B4><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD>ٹ<EFBFBD><D9B9><EFBFBD><EFBFBD><EFBFBD> */
|
||
.br
|
||
int sp_inact; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>ޤǤ<DEA4><C7A4><EFBFBD><EFBFBD><EFBFBD> */
|
||
.br
|
||
int sp_expire; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȴ<EFBFBD><C8B4><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||
.br
|
||
int sp_flag; /* <20><><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