mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-10 14:02:43 +00:00
Bump maximum username length to 16 characters. This brings us into
line with BSD/OS and Linux's username limits, making transitioning from either operating system a lot easier than it is now. I'm currently running with this change on my system, as are several others, and have experienced no ill effects. This is not for 2.2! This needs to get shaken out longer term in 3.0. Previously-approved-by: davidg
This commit is contained in:
parent
b96aebd585
commit
96b2533ed1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20137
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)utmp.h 8.2 (Berkeley) 1/21/94
|
||||
* $Id$
|
||||
* $Id: utmp.h,v 1.2 1996/10/27 18:13:35 wosch Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UTMP_H_
|
||||
@ -46,7 +46,7 @@
|
||||
#define _PATH_WTMP "/var/log/wtmp"
|
||||
#define _PATH_LASTLOG "/var/log/lastlog"
|
||||
|
||||
#define UT_NAMESIZE 8 /* see MAXLOGNAME in <sys/param.h> */
|
||||
#define UT_NAMESIZE 16 /* see MAXLOGNAME in <sys/param.h> */
|
||||
#define UT_LINESIZE 8
|
||||
#define UT_HOSTSIZE 16
|
||||
|
||||
|
@ -72,7 +72,7 @@ or the script
|
||||
#define _PATH_WTMP "/var/log/wtmp"
|
||||
#define _PATH_LASTLOG "/var/log/lastlog"
|
||||
|
||||
#define UT_NAMESIZE 8
|
||||
#define UT_NAMESIZE 16
|
||||
#define UT_LINESIZE 8
|
||||
#define UT_HOSTSIZE 16
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)param.h 8.3 (Berkeley) 4/4/95
|
||||
* $Id: param.h,v 1.16 1996/11/28 04:07:44 dyson Exp $
|
||||
* $Id: param.h,v 1.17 1996/11/30 22:41:35 dyson Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PARAM_H_
|
||||
@ -65,7 +65,7 @@
|
||||
|
||||
#define MAXCOMLEN 16 /* max command name remembered */
|
||||
#define MAXINTERP 32 /* max interpreter file name length */
|
||||
#define MAXLOGNAME 12 /* max login name length */
|
||||
#define MAXLOGNAME 16 /* max login name length */
|
||||
#define MAXUPRC CHILD_MAX /* max simultaneous processes */
|
||||
#define NCARGS ARG_MAX /* max bytes for an exec function */
|
||||
#define NGROUPS NGROUPS_MAX /* max number groups */
|
||||
|
Loading…
Reference in New Issue
Block a user