11-char usernames on Tru64

From: Douglas C. Stephens <stephens_at_ameslab.gov>
Date: Tue, 03 Aug 1999 16:19:40 -0500

We have been given the task of moving a rather large (to me) list of users
from a VMS cluster, where the username length limit is longer than on Tru64,
to a Digital Unix 4.0E system with C2 enhanced security enabled. A
significant percentage of the usernames from this VMS cluster have lengths
in the 8-11 character range. We have been assured several times that even
though the adduser script has a built-in 8-char length limitation, the
system itself, (which I take to mean the library functions), actually has
an 11 character limitation. If this is actually the case then we can reduce
my username-reassigning problem to just 3 users.

We have already picked apart the adduser script and experimented with the
useradd, usermod, and userdel commands and found a hard-coded 8-char limit. We've also tried assorted hacks using /tcb/bin/edauth and vipw. vipw didn't
care in the slightest about username length, of course, but all the other
commands had hard-coded 8-char limits.

Will we need to code something up in C ourselves to call the libarary
functions directly in order to use the internal 11-char limit? Also, do
both libc.a and libsecurity.a have 11-char limits or does one or the other
have an 8-char limit?

--
Douglas C. Stephens             | Network/DNS/Unix/WinNT/VMS Administrator
System Support Specialist       | Postmaster / Webmaster
Information Systems             | Phone: (515) 294-6102
Ames Laboratory, US DOE         | Email: stephens_at_ameslab.gov
Received on Tue Aug 03 1999 - 21:21:52 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT