[5048] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Sun CDE 1.0.1: login bug

daemon@ATHENA.MIT.EDU (Casper Dik)
Tue Jul 29 17:36:14 1997

Date: 	Tue, 29 Jul 1997 21:28:27 +0200
Reply-To: Casper Dik <casper@HOLLAND.SUN.COM>
From: Casper Dik <casper@HOLLAND.SUN.COM>
X-To:         Doug Hughes <Doug.Hughes@Eng.Auburn.EDU>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  Your message of "Tue, 29 Jul 1997 14:24:49 CDT." 
              <doug-970729142448.A1E1811@netman.eng.auburn.edu>

It's a bug in NIS+, it strips spaces of the beginning when doing name
lookups.  It's fixed in the latest libc patches.

Anyway, what happens is that the prepended spaces make their way into
$USER/$LOGNAME and $MAIL and that's where it's quite a nuisance.
You coudl work around this in teh Xsession scripts.

Newer versions of CDE also have a workaround (simply use pw->pw_name as
username)

Casper

home help back first fref pref prev next nref lref last post