1.\" Copyright (c) 1988, 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. --- 42 unchanged lines hidden (view full) --- 51with 52.Ar user 53or, by default, the current user. 54The information is formatted and supplied to an editor for changes. 55.Pp 56Only the information that the user is allowed to change is displayed. 57.Pp 58The options are as follows: |
59.Bl -tag -width flag |
60.It Fl a 61The super-user is allowed to directly supply a user database 62entry, in the format specified by 63.Xr passwd 5 , 64as an argument. 65This argument must be a colon (``:'') separated list of all the 66user database fields, although they may be empty. 67.It Fl p --- 198 unchanged lines hidden (view full) --- 266to change their NIS passwords. The super-user is allowed to specify 267a new password (even though the ``Password:'' field does not show 268up in the editor template, the super-user may add it back by hand), 269but even the super-user must supply the user's original password 270otherwise 271.Xr yppasswdd 8 272will refuse to update the NIS maps. 273.El |
274.Pp 275There are also two extra option flags that are available when 276.Nm chpass 277is compiles with NIS support: 278.Bl -tag -width flag 279.It Fl l 280The 281.Fl l 282flag forces 283.Nm chpass 284to modify the local copy of a user's password 285information in the even that a user exists in both 286the local and NIS databases. 287.It Fl y 288This flag has the opposite effect of 289.Fl l . 290This flag is largely redundant since 291.Nm chpass 292operates on NIS entries by default if NIS is enabled. 293.El 294.Pp |
295.Sh FILES 296.Bl -tag -width /etc/master.passwd -compact 297.It Pa /etc/master.passwd 298The user database 299.It Pa /etc/passwd 300A Version 7 format password file 301.It Pa /etc/chpass.XXXXXX 302Temporary copy of the password file --- 34 unchanged lines hidden --- |