pw.conf.5 (d6f907dc7a4aab1976e3040243e0242717dc13cb) | pw.conf.5 (48aee7f33a5dce843b51b7907af59573f8d3a7c4) |
---|---|
1.\" Copyright (c) 1996 2.\" David L. Nugent. | 1.\" Copyright (c) 1996 2.\" David L. Nugent. |
3.\" Password/Group file maintenance suite | 3.\" Password Maintenance |
4.\" | 4.\" |
5.\" $Id: pw.conf.5,v 1.2 1996/11/18 03:09:02 davidn Exp $ | 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. All advertising materials mentioning features or use of this software 14.\" must display the following acknowledgement: 15.\" This product includes software developed by David L. Nugent. 16.\" 4. The name of the author may not be used to endorse or promote products 17.\" derived from this software without specific prior written permission. |
6.\" | 18.\" |
7.Dd November 13, 1996 | 19.\" THIS SOFTWARE IS PROVIDED BY THE DAVID L. NUGENT ``AS IS'' AND 20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22.\" ARE DISCLAIMED. IN NO EVENT SHALL DAVID L. NUGENT BE LIABLE 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" 31.\" $Id$ 32.\" 33.Dd December 9, 1996 |
8.Dt PW.CONF 5 9.Os 10.Sh NAME 11.Nm pw.conf 12.Nd format of the pw.conf configuration file 13.Sh DESCRIPTION 14The file 15.Aq Pa /etc/pw.conf --- 43 unchanged lines hidden (view full) --- 59.It shells 60list of valid shells (without path) 61.It defaultshell 62default shell (without path) 63.It defaultgroup 64default group 65.It extragroups 66add new users to this groups | 34.Dt PW.CONF 5 35.Os 36.Sh NAME 37.Nm pw.conf 38.Nd format of the pw.conf configuration file 39.Sh DESCRIPTION 40The file 41.Aq Pa /etc/pw.conf --- 43 unchanged lines hidden (view full) --- 85.It shells 86list of valid shells (without path) 87.It defaultshell 88default shell (without path) 89.It defaultgroup 90default group 91.It extragroups 92add new users to this groups |
67.It loginclass | 93.It defaultclass |
68place new users in this login class 69.It minuid 70.It maxuid 71range of valid default user ids 72.It mingid 73.It maxgid 74range of valid default group ids 75.It expire_days --- 119 unchanged lines hidden (view full) --- 195password file) used for new accounts. 196If left blank, or the word 197.Ql \&no 198is used, then each new user will have a corresponding group of 199their own created automatically. 200This is the recommended procedure for new users as it best secures each 201user's files against interference by other users of the system 202irrespective of the | 94place new users in this login class 95.It minuid 96.It maxuid 97range of valid default user ids 98.It mingid 99.It maxgid 100range of valid default group ids 101.It expire_days --- 119 unchanged lines hidden (view full) --- 221password file) used for new accounts. 222If left blank, or the word 223.Ql \&no 224is used, then each new user will have a corresponding group of 225their own created automatically. 226This is the recommended procedure for new users as it best secures each 227user's files against interference by other users of the system 228irrespective of the |
203.Em umask . | 229.Em umask |
204normally used by the user. 205.Pp 206.Ar extragroups 207provides an automatic means of placing new users into groups within 208the 209.Pa /etc/groups 210file. 211This is useful where all users share some resources, and is preferable 212to placing users into the same primary group. 213The effect of this keyword can be overridden using the 214.Ql \&-G | 230normally used by the user. 231.Pp 232.Ar extragroups 233provides an automatic means of placing new users into groups within 234the 235.Pa /etc/groups 236file. 237This is useful where all users share some resources, and is preferable 238to placing users into the same primary group. 239The effect of this keyword can be overridden using the 240.Ql \&-G |
215option on 216.Xr pw 8 's | 241option on the 242.Xr pw 8 |
217command line. 218.Pp 219The | 243command line. 244.Pp 245The |
246.Ar defaultclass 247field determines the login class (See 248.Xr login.conf 5 ) 249that new users will be allocated unless overwritten by 250.Xr pw 8 . 251.Pp 252The |
|
220.Ar minuid , 221.Ar maxuid , 222.Ar mingid , 223.Ar maxgid 224keywords determines the allowed ranges of automatically allocated user 225and group id numbers. 226The default values for both user and group ids are 1000 and 32000 as 227minimum and maximum respectively. --- 26 unchanged lines hidden (view full) --- 254.Bl -tag -width /etc/master.passwd -compact 255.It Pa /etc/pw.conf 256.It Pa /etc/passwd 257.It Pa /etc/master.passwd 258.It Pa /etc/group 259.El 260.Sh SEE ALSO 261.Xr pw 8 , | 253.Ar minuid , 254.Ar maxuid , 255.Ar mingid , 256.Ar maxgid 257keywords determines the allowed ranges of automatically allocated user 258and group id numbers. 259The default values for both user and group ids are 1000 and 32000 as 260minimum and maximum respectively. --- 26 unchanged lines hidden (view full) --- 287.Bl -tag -width /etc/master.passwd -compact 288.It Pa /etc/pw.conf 289.It Pa /etc/passwd 290.It Pa /etc/master.passwd 291.It Pa /etc/group 292.El 293.Sh SEE ALSO 294.Xr pw 8 , |
295.Xr login.conf 5 , |
|
262.Xr passwd 1 , 263.Xr passwd 5 , 264.Xr group 5 265 266 | 296.Xr passwd 1 , 297.Xr passwd 5 , 298.Xr group 5 299 300 |