Re: sysinst username length limit

2024-04-03 Thread Brett Lymn
On Wed, Apr 03, 2024 at 12:37:31PM +0200, ignat...@cs.uni-bonn.de wrote: > > which is the only one supported by old YP code, in case you still > have e.g. an sunos4 client in your network. > If you have a sunos 4 nis client then it probably won't like the > 8 character usernames either. I

Re: sysinst username length limit

2024-04-03 Thread ignatios
Hi, an addendum: utmp and wtmp have a 8 character limit for the username. utmpx and wtmpx, which I think we have since last century,* have 32bit limit, so if your tools use the latter log files, you're safe with 32 character username. If you exceed the limit, last(8) etc. will only show the

Re: sysinst username length limit

2024-04-03 Thread ignatios
Hi, On Wed, Apr 03, 2024 at 11:12:25AM +0200, Martin Husemann wrote: > IIRC you could always use longer names if they were unique within the first > 8 chars. After failing to find hints in the YP code, other than variable lengthes for both key and data, I decided to experiment: Fortunately, I

Re: sysinst username length limit

2024-04-03 Thread Hauke Fath
On Wed, 3 Apr 2024 11:12:25 +0200, Martin Husemann wrote: > IIRC you could always use longer names if they were unique within the first > 8 chars. That's possible, and it is certainly true for the long account names here. > Maybe it would be ok to ignore any such limits anyway since in setups

Re: sysinst username length limit

2024-04-03 Thread Martin Husemann
On Wed, Apr 03, 2024 at 10:53:58AM +0200, Hauke Fath wrote: > > The limit still exists if you use NIS to manage passwords. > > It does? My YP master says > > % awk -F: '{ if (length($1) > 8) { print $1 }}' < /etc/passwd | wc -l > 18 > % > > The linux and freebsd clients seem to be fine

Re: sysinst username length limit

2024-04-03 Thread Hauke Fath
On Wed, 3 Apr 2024 07:50:33 +0200, Martin Husemann wrote: > On Wed, Apr 03, 2024 at 05:34:21AM +, Charlotte Koch wrote: >> The 8 character limit is probably some historical thing, and besides, >> it's completely bogus. I create accounts called 'charlotte' (9 chars) >> all the time, with and

Re: sysinst username length limit

2024-04-02 Thread Martin Husemann
On Wed, Apr 03, 2024 at 05:34:21AM +, Charlotte Koch wrote: > The 8 character limit is probably some historical thing, and besides, > it's completely bogus. I create accounts called 'charlotte' (9 chars) > all the time, with and without sysinst. The limit still exists if you use NIS to manage

sysinst username length limit

2024-04-02 Thread Charlotte Koch
Hola gang, When sysinst(8) invites the user to create a new user account, it alludes to a username limitation of 8 characters. The exact wording for this was recently changed in the English case, to avoid potential confusion. But I suggest we can avoid all confusion by removing mention of any