Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 01:41:22 +0530
From:      "Unix Tools" <unixtools@hotmail.com>
To:        "Steve Warwick" <ukla@attbi.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Pw - name too long ??
Message-ID:  <OE17gnoWtA4oup2gjKo0000165e@hotmail.com>
References:  <BA33FD0A.3F1C%ukla@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <ukla@attbi.com>
To: <freebsd-questions@FreeBSD.ORG>
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




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