summaryrefslogtreecommitdiffstats
path: root/include/utmp.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-12-04 11:31:14 +0000
committerjkh <jkh@FreeBSD.org>1996-12-04 11:31:14 +0000
commit9b86a34b6bfb9cbcc5a27abcb20aafc2816fce6e (patch)
tree482b2b2b8edbe59f1c0e183f8a5e9c656f39a111 /include/utmp.h
parent934ae8e8fd8a684ceee61c9f6a8977ac57dfa4e0 (diff)
downloadFreeBSD-src-9b86a34b6bfb9cbcc5a27abcb20aafc2816fce6e.zip
FreeBSD-src-9b86a34b6bfb9cbcc5a27abcb20aafc2816fce6e.tar.gz
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
Diffstat (limited to 'include/utmp.h')
-rw-r--r--include/utmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/utmp.h b/include/utmp.h
index 74df997..d1007fb 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -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
OpenPOWER on IntegriCloud