/etc/issue vs /etc/issue.net in shell.c

Chris Johns chrisj at rtems.org
Fri Nov 21 23:50:08 UTC 2014


On 22/11/2014 1:53 am, Joel Sherrill wrote:
>
> On 11/21/2014 1:38 AM, Sebastian Huber wrote:
>> On 20/11/14 22:08, Joel Sherrill wrote:
>>> Hi
>>>
>>> We have different code to process these two files on login.
>>> Can someone point me to a standard source which says
>>> what is supposed to be handled in each one?
>>>
>>> Should we really have both paths?
>>>
>> One is for telnet:
>>
>> http://linux.die.net/man/5/issue.net
>>
>> One for the normal login:
>>
>> http://linux.die.net/man/5/issue
>>
> I got that from the code. What standard/RFC/etc. requires that
> they be divergent?
>

None I can see. It seems a convention specific to each platform. FreeBSD 
has other files.

If you want a common file you could use a symlink.

Chris


More information about the devel mailing list