Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 10:48:17 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "David Lawson" <dave@siteone.net>, "FreeBSD ISP" <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Username Length
Message-ID:  <00fb01c07bee$4f0da0e0$7d7885c0@genroco.com>
References:  <NEBBKOCAGLBGBAGEIHPIOEBBCFAA.dave@siteone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "David Lawson" <dave@siteone.net>
> How would I extend the maximum length of usernames for FreeBSD 4.1
>
To change the maximum length of usernames you will need to change:

file                            parameter        default
------------------------        ----------       --------
/usr/src/sys/sys/param.h        MAXLOGNAME       16
/usr/src/include/utmp.h         UT_NAMESIZE      16
/usr/src/include/stdio.h        L_cuserid        (UT_NAMESIZE + 1)

You will also need to change the adduser.pl, and rmuser.pl
(/usr/src/usr.sbin/adduser) perl scripts to allow > 16 character names.

Scot



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00fb01c07bee$4f0da0e0$7d7885c0>