Subject: Re: long usernames
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 02/15/2003 20:56:44
> > 
> > Should this be fixed?

It is now fixed :-)

I've also added a warning if the logname of a session is set twice.
This will happen for some common daemons including ftpd.
The fix is (usually) to add a call to setsid() prior to calling
setlogname.

Adding a setsid() to inetd won't fix things because you can't
call setsid() twice in the same process.

	David

-- 
David Laight: david@l8s.co.uk