Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 1996 22:51:07 GMT
From:      James Raynard <fqueries@jraynard.demon.co.uk>
To:        terry@lambert.org
Cc:        malvin@webquest.com, questions@freebsd.org
Subject:   Re: login name
Message-ID:  <199605282251.WAA11578@jraynard.demon.co.uk>
In-Reply-To: <199605272358.QAA09637@phaeton.artisoft.com> (message from Terry Lambert on Mon, 27 May 1996 16:58:28 -0700 (MST))

next in thread | previous in thread | raw e-mail | index | archive | help
> > Edit the line in /usr/src/include/utmp.h that says
> > 
> > #define UT_NAMESIZE     8
> > 
> > and do 'make world' in /usr/src

> Anyone have an unmodified source tree from a dist (other than on CDROM)?

In my slightly-modified -current source tree:-

$ pwd                           
/usr/src
$ perl ~james/bin/rgrep UT_NAMESIZE
./bin/pax/gen_subs.c		#defines UT_NAMESIZE if not already #defined.
./include/stdio.h		#define L_cuserid 9 (ie UT_NAMESIZE + 1).
./include/utmp.h		# The definition.
./lib/libc/gen/getpwent.c
./lib/libc/gen/pwcache.c
./lib/libutil/logout.c
./libexec/rpc.rusersd/rusers_proc.c
./sys/i386/boot/dosboot/sysparam.h	# See below.
./sys/sys/param.h			# See below.
./usr.bin/chpass/pw_yp.c
./usr.bin/find/ls.c		# Used to format output.
./usr.bin/finger/finger.c
./usr.bin/finger/sprint.c	# Used to format output.
./usr.bin/finger/util.c		# Used in truncating person's name.
./usr.bin/last/last.c		# Used to format output.
./usr.bin/lastcomm/lastcomm.c	# Used to format output.
./usr.bin/login/login.c		# Used in truncating name.
./usr.bin/users/users.c
./usr.bin/w/w.c			# Used to format output.
./usr.bin/who/who.c		# Used to format output.
./usr.sbin/ac/ac.c		# Used to format output.
./usr.sbin/syslogd/syslogd.c	

(I've not bothered to comment when it's used just for manipulating
utmp entries or for allocating auto variables to hold user names).

In both sys/i386/boot/dosboot/sysparam.h and sys/sys/param.h, there's
a comment saying that MAXLOGNAME should be >= UT_NAMESIZE.

There seem to be a few hidden dependencies. 8-(

-- 
James Raynard, Edinburgh, Scotland
jraynard@dial.pipex.com
james@jraynard.demon.co.uk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605282251.WAA11578>