From owner-freebsd-questions Sun Dec 29 12:15:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AC0937B401 for ; Sun, 29 Dec 2002 12:15:22 -0800 (PST) Received: from hotmail.com (oe17.pav2.hotmail.com [64.4.36.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4A9A43ED1 for ; Sun, 29 Dec 2002 12:15:21 -0800 (PST) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 29 Dec 2002 12:15:16 -0800 X-Originating-IP: [202.63.172.104] From: "Unix Tools" To: "Steve Warwick" , References: Subject: Re: Pw - name too long ?? Date: Sun, 29 Dec 2002 01:41:22 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 29 Dec 2002 20:15:16.0735 (UTC) FILETIME=[00B0C8F0:01C2AF77] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, In /usr/src/sys/sys/param.h Adjust MAXLOGNAME to the new value (don't forget the NULL). That should do it... rebuild the kernel. Cheers. ----- Original Message ----- From: "Steve Warwick" To: Sent: Sunday, December 29, 2002 02:44 PM Subject: Pw - name too long ?? > Hi All, > > I am trying to add a user name with the pw command and get the "name too > long" error after 15 or 16 characters. However, I also use Webmin which has > allowed me to use much longer user names. Is there a switch or setting I am > missing? > > Example: > pw adduser longdomain-henry2 -w random -d "/home/longdomain/henry2" -g > nogroup -s "/sbin/nologin" -c "henry two" -h 0 > > Suggestions? > > > TIA > > > Steve > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message