user account
M.H.Hung
sysdba at mail.tradepages.com.tw
Wed Apr 18 16:54:23 BST 2001
Kevin O'Connor ¼g¹D:
>
> you can change the variable UT_NAMESIZE in the
> /usr/include/utmp.h file but I think this is set to 16 by default. If
> you do alter this file you MUST do a make world. Are you running
> NIS, if so I think your stuck with an 8 character user name
> Regards
> Kevin
>
Thanks Gavin, Kein and Andy.
I change /usr/include/utmp.h/UT_NAMESIZE to 20 and
/usr/include/sys/param.h/MAXLOGNAME to 21, and I remember
to make the kernel, then I create a user account
"abcdefghijklmnopqrst", the system accept and I can use
finger to check this account.
But I can't use the following command:
chown abcdefghijklmnopqrst xxx
and I also can't mail to this account, the system echo:
abcdefghijklmnopqrst... User unknown!
I don't know if I forgot to do any thing else?
M.H.Hung
from Taiwan
More information about the Ukfreebsd
mailing list