> >All right, I don't mind admitting I'm relatively new to both Unix and to
> >FreeBSD. Could you please enlighten me on how you extended UserIDs to
> >more than 8 characters? I found the check in the adduser program, but
> >even when I changed that it didn't work right. What else do I need to do,
> >pray tell?
> It's not that easy, unfortunately. It's a system-wide limit that's
> compiled in when the system is built and you have to re-compile
> everything to change it.
> If you want to do this, you'll need the whole of the src distribution
> (not just the kernel) and change the line in /usr/include/utmp.h which
> #define UT_NAMESIZE 8
> Then do 'make world' in /usr/src, build a new kernel and reboot.
Thanks. I got most of this from another kind soul, found the entry, and
started recompiling those elements that use it. I found that most of the
utilities that use this have their sources in /usr/src/usr.bin , so when
I kept stumbling over more such utilities, I tried to 'make' this whole
group, but got caught by an error since tn3270/mset/mset.c wasn't there.
Perhaps the 'make world' approach will bypass this; I'll certainly try
it, and thanks.
> (NB the limit is set at 8 to be compatible with NIS. If you increase
> it, you won't be able to use NIS any more. If you don't know what that
> means, you probably aren't using it 8-)
No, I'm definitely not using it and have no plans to.
> >I'm starting a new FreeBSD-powered WebSite and would like to be able to
> >bypass this limit.
> If you just want to do this to get long usernames in email addresses,
> a much simpler way is to set up mail aliases. For example, if you use
> sendmail, adding a line in /etc/aliases like
> averylongusernameindeed: someone
> and doing 'mkaliases' will result in mail addressed to
> 'averylongusernameindeed' being sent to someone's mailbox instead.
Actually, I'm using qpop, which is the POP3 mail handler supplied as a
package for FBSD. I also use popclient to suck email from other sites
where I have accounts (which will eventually expire), and put it all here
where I can reasd it from one place. I'll look into aliasing, but I think
I'm really going to want at least 10-character UserIDs, and 12 is
apparently reasonable without too much trouble in FBSD.
Thanks again for the info!