passwd.1 (79755) | passwd.1 (95124) |
---|---|
1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)passwd.1 8.1 (Berkeley) 6/6/93 | 1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)passwd.1 8.1 (Berkeley) 6/6/93 |
33.\" $FreeBSD: head/usr.bin/passwd/passwd.1 79755 2001-07-15 08:06:20Z dd $ | 33.\" $FreeBSD: head/usr.bin/passwd/passwd.1 95124 2002-04-20 12:18:28Z charnier $ |
34.\" 35.Dd June 6, 1993 36.Dt PASSWD 1 37.Os 38.Sh NAME 39.Nm passwd , yppasswd 40.Nd modify a user's password 41.Sh SYNOPSIS 42.Nm 43.Op Fl l 44.Op Ar user 45.Nm yppasswd 46.Op Fl l 47.Op Fl y 48.Op Fl d Ar domain 49.Op Fl h Ar host 50.Op Fl o 51.Sh DESCRIPTION | 34.\" 35.Dd June 6, 1993 36.Dt PASSWD 1 37.Os 38.Sh NAME 39.Nm passwd , yppasswd 40.Nd modify a user's password 41.Sh SYNOPSIS 42.Nm 43.Op Fl l 44.Op Ar user 45.Nm yppasswd 46.Op Fl l 47.Op Fl y 48.Op Fl d Ar domain 49.Op Fl h Ar host 50.Op Fl o 51.Sh DESCRIPTION |
52.Nm Passwd 53changes the user's local, Kerberos, or NIS password. | 52The 53.Nm 54utility changes the user's local, Kerberos, or NIS password. |
54If the user is not the super-user, 55.Nm 56first prompts for the current password and will not continue unless the correct 57password is entered. 58.Pp 59When entering the new password, the characters entered do not echo, in order to 60avoid the password being seen by a passer-by. | 55If the user is not the super-user, 56.Nm 57first prompts for the current password and will not continue unless the correct 58password is entered. 59.Pp 60When entering the new password, the characters entered do not echo, in order to 61avoid the password being seen by a passer-by. |
62The |
|
61.Nm | 63.Nm |
62prompts for the new password twice in order to detect typing errors. | 64utility prompts for the new password twice in order to detect typing errors. |
63.Pp 64The new password should be at least six characters long (which 65may be overridden using the 66.Xr login.conf 5 67.Dq minpasswordlen 68setting for a user's login class) and not purely alphabetic. 69Its total length must be less than 70.Dv _PASSWORD_LEN --- 30 unchanged lines hidden (view full) --- 101To change another user's Kerberos password, one must first 102run 103.Xr kinit 1 104followed by 105.Xr passwd 1 . 106The super-user is not required to provide a user's current password 107if only the local password is modified. 108.Sh NIS INTERACTION | 65.Pp 66The new password should be at least six characters long (which 67may be overridden using the 68.Xr login.conf 5 69.Dq minpasswordlen 70setting for a user's login class) and not purely alphabetic. 71Its total length must be less than 72.Dv _PASSWORD_LEN --- 30 unchanged lines hidden (view full) --- 103To change another user's Kerberos password, one must first 104run 105.Xr kinit 1 106followed by 107.Xr passwd 1 . 108The super-user is not required to provide a user's current password 109if only the local password is modified. 110.Sh NIS INTERACTION |
109.Nm Passwd 110has built-in support for NIS. | 111The 112.Nm 113utility has built-in support for NIS. |
111If a user exists in the NIS password 112database but does not exist locally, 113.Nm 114automatically switches into 115.Dq yppasswd 116mode. 117If the specified 118user does not exist in either the local password database of the --- 131 unchanged lines hidden --- | 114If a user exists in the NIS password 115database but does not exist locally, 116.Nm 117automatically switches into 118.Dq yppasswd 119mode. 120If the specified 121user does not exist in either the local password database of the --- 131 unchanged lines hidden --- |