Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 1997 09:55:51 -0500
From:      "Greg Rowe" <greg@uswest.net>
To:        hackers@FreeBSD.ORG
Subject:   setlogin error on 16 character user name
Message-ID:  <9709150955.ZM19251@nevis.oss.uswest.net>

next in thread | raw e-mail | index | archive | help
 I'm trying to increase the user name length on 2.2-STABLE to 16 characters.
UT_NAMESIZE is set to 16 and MAXLOGNAME is set to 17 as in the 3.0 source.
System was rebuilt using make world and the kernel re-made. FTP logins work ok
on a 16 character username, but telnet and rlogins fail with the following:

Sep 15 14:32:18 auth1 login: setlogin(testtesttesttest): Invalid argument
Sep 15 14:32:18 auth1 login: setlogin(testtesttesttest): Invalid argument
Sep 15 14:32:18 auth1 login: setusercontext() failed - exiting
Sep 15 14:32:18 auth1 login: setusercontext() failed - exiting

 A 15 character or less username works OK. Do I need to also change anything in
login to get this to work ? Thanks.

Greg



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