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

Joel Sherrill joel.sherrill at oarcorp.com
Sat Nov 22 03:36:05 UTC 2014



On November 21, 2014 5:50:08 PM CST, Chris Johns <chrisj at rtems.org> wrote:
>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.

The code supports different "codes" in each. I don't see why they are that way. 

>Chris




More information about the devel mailing list