From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067215787.tru64-unix-managers.marc@archive.invalid> From: "Douglas C. Stephens" Date: Tue, 03 Aug 1999 21:19:40 +0000 To: tru64-unix-managers Subject: 11-char usernames on Tru64 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067215787 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@ameslab.gov