From owner-freebsd-questions Fri Mar 10 20: 8:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (h139-142-245-96.ss.fiberone.net [139.142.245.96]) by hub.freebsd.org (Postfix) with ESMTP id AEB5E37B6D2 for ; Fri, 10 Mar 2000 20:08:20 -0800 (PST) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id WAA10068; Fri, 10 Mar 2000 22:07:58 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Fri, 10 Mar 2000 22:07:58 -0600 (CST) From: Ryan Thompson To: Shawn Ramsey Cc: Danny , Doug Barton , questions@FreeBSD.ORG Subject: Re: Long User name problem In-Reply-To: <4.2.0.58.20000310184741.023312d0@mail.cpl.net> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Shawn Ramsey wrote to Danny and Doug Barton: > At 01:13 PM 3/12/2000 +1100, Danny wrote: > >HEllo, > > > >I thought From FreeBSD 3.3 onwards it supported 16 characters in the username. > >I am wondering if you can show me the username you are having problems adding? > > Yeah, well, thats the problem. :) We have other systems that work just fine > with long user names. One particular system does not. What exactly do you > want me to show you? > Please fix any line breaks or obvious errors: echo 'bobbyjoelongname::62424:62424::0:0:Bigass \ Username:/nonexistent:/bin/csh' >> /etc/master.passwd pwd_mkdb /etc/master.passwd su bobbyjoelongname whoami who w exit last | head -1 If that returns predicted output, you may be running into problems with individual programs. ls -l, for example, truncates usernames to a variable length (~8 characters). -- Ryan Thompson Systems Administrator, Accounts Phone: +1 (306) 664-1161 SaskNow Technologies http://www.sasknow.com #106-380 3120 8th St E Saskatoon, SK S7H 0W2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message