Subject: Re: long usernames
To: <>
From: David Laight <>
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

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


David Laight: