1 '\" te
2 .\" Copyright 1989 AT&T
3 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
5 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
6 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH PASSWD 1 "Feb 25, 2009"
8 .SH NAME
9 passwd \- change login password and password attributes
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBpasswd\fR [\fB-r\fR files | \fB-r\fR ldap | \fB-r\fR nis | \fB-r\fR nisplus] [\fIname\fR]
14 .fi
15
16 .LP
17 .nf
18 \fBpasswd\fR [\fB-r\fR files] [\fB-egh\fR] [\fIname\fR]
19 .fi
20
21 .LP
22 .nf
23 \fBpasswd\fR [\fB-r\fR files] \fB-s\fR [\fB-a\fR]
24 .fi
25
26 .LP
27 .nf
457 Shows password attributes for the login \fIname\fR. For the \fBnisplus\fR
458 repository, this works for everyone. However for the \fBfiles\fR and \fBldap\fR
459 repositories, this only works for the superuser. It does not work at all for
460 the \fBnis\fR repository which does not support password aging.
461 .sp
462 The output of this option, and only this option is Stable and parsable. The
463 format is \fIusername\fR followed by white space followed by one of the
464 following codes.
465 .sp
466 New codes might be added in the future so code that parses this must be
467 flexible in the face of unknown codes. While all existing codes are two
468 characters in length that might not always be the case.
469 .sp
470 The following are the current status codes:
471 .sp
472 .ne 2
473 .na
474 \fB\fBLK\fR\fR
475 .ad
476 .RS 6n
477 Account is locked for UNIX authenitcation. \fBpasswd -l\fR was run or the
478 authentication failed \fBRETRIES\fR times.
479 .RE
480
481 .sp
482 .ne 2
483 .na
484 \fB\fBNL\fR\fR
485 .ad
486 .RS 6n
487 The account is a no login account. \fBpasswd -N\fR has been run.
488 .RE
489
490 .sp
491 .ne 2
492 .na
493 \fB\fBNP\fR\fR
494 .ad
495 .RS 6n
496 Account has no password. \fBpasswd -d\fR was run.
497 .RE
|
1 '\" te
2 .\" Copyright 1989 AT&T
3 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
5 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
6 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH PASSWD 1 "May 31, 2013"
8 .SH NAME
9 passwd \- change login password and password attributes
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBpasswd\fR [\fB-r\fR files | \fB-r\fR ldap | \fB-r\fR nis | \fB-r\fR nisplus] [\fIname\fR]
14 .fi
15
16 .LP
17 .nf
18 \fBpasswd\fR [\fB-r\fR files] [\fB-egh\fR] [\fIname\fR]
19 .fi
20
21 .LP
22 .nf
23 \fBpasswd\fR [\fB-r\fR files] \fB-s\fR [\fB-a\fR]
24 .fi
25
26 .LP
27 .nf
457 Shows password attributes for the login \fIname\fR. For the \fBnisplus\fR
458 repository, this works for everyone. However for the \fBfiles\fR and \fBldap\fR
459 repositories, this only works for the superuser. It does not work at all for
460 the \fBnis\fR repository which does not support password aging.
461 .sp
462 The output of this option, and only this option is Stable and parsable. The
463 format is \fIusername\fR followed by white space followed by one of the
464 following codes.
465 .sp
466 New codes might be added in the future so code that parses this must be
467 flexible in the face of unknown codes. While all existing codes are two
468 characters in length that might not always be the case.
469 .sp
470 The following are the current status codes:
471 .sp
472 .ne 2
473 .na
474 \fB\fBLK\fR\fR
475 .ad
476 .RS 6n
477 Account is locked for UNIX authentication. \fBpasswd -l\fR was run or the
478 authentication failed \fBRETRIES\fR times.
479 .RE
480
481 .sp
482 .ne 2
483 .na
484 \fB\fBNL\fR\fR
485 .ad
486 .RS 6n
487 The account is a no login account. \fBpasswd -N\fR has been run.
488 .RE
489
490 .sp
491 .ne 2
492 .na
493 \fB\fBNP\fR\fR
494 .ad
495 .RS 6n
496 Account has no password. \fBpasswd -d\fR was run.
497 .RE
|