Subject: Re: misc/2668: login-names >8 chars make no fun
To: None <hubert.feyrer@rz.uni-regensburg.de>
From: Neil J. McRae <neil@domino.org>
List: current-users
Date: 08/14/1996 10:47:19
On Thu, 1 Aug 1996 03:25:27 +0200
Hubert Feyrer <feyrer@smaug.mit.edu> wrote:
I've actually done all of this, is it something that should be in the tree?
My code gives usernames up to 36 chars long.
Neil
>
> >Number: 2668
> >Category: misc
> >Synopsis: login-names >8 chars make no fun
> >Confidential: no
> >Severity: non-critical
> >Priority: medium
> >Responsible: misc-bug-people (Misc Bug People)
> >State: open
> >Class: change-request
> >Submitter-Id: net
> >Arrival-Date: Thu Aug 1 13:20:09 1996
> >Last-Modified:
> >Originator: Hubert Feyrer
> >Organization:
> FH Regensburg, Germany
> >Release: vanilla 1.1 release
> >Environment:
>
> System: NetBSD smaug 1.1 NetBSD 1.1 (SMAUG) #4: Tue May 14 20:58:29 MET DST 1
996 feyrer@smaug:/tmp_mnt/grizu/usr3/usr_src/sys/arch/sparc/compile/SMAUG sparc
>
>
> >Description:
> Login'names that are longer than 8 chars seem not to be supported
> by NetBSD (V1.1). Problems are:
> - chown(8) won't work
> - ls(1) only chows first 8 chars
> - su(1) won't work
>
> >How-To-Repeat:
> - vipw and make a login with >8 chars, e.g. 'longlogin'
> - smaug# cd /tmp
> smaug# touch x
> smaug# chown longlogin x
> chown: longlogin: illegal user name
> - vipw and change longlogin to something shorter ('short')
> chown short x
> vipw and change back to 'longlogin'
> smaug# ls -la x
> -rw-r--r-- 1 longlogi wheel 0 Aug 1 03:12 x
> - smaug# su - longlogin
> su: unknown login longlogin
>
> >Fix:
> sure, with much time. :-( (i.e.: none available from me :()
> >Audit-Trail:
> >Unformatted:
>
--
Neil J. McRae. Alive and Kicking. Domino: In the glow of the night.
neil@DOMINO.ORG NetBSD/sparc: 100% SpF (Solaris protection Factor)
Free the daemon in your computer!