QNX4: /etc/defaultlogin - what it's for?

Is it the user-configurable sample file to be modified during an installation or it’s the specially crafted file to be used as-is?

May I change it to look like “VAR=value” pairs?
What may get affected in the QNX4 after such a change?

Tony.

On Fri, 01 Oct 2004 19:44:45 +0400, Tony <mts.spb.suxx@mail.ru> wrote:

Is it the user-configurable sample file to be modified during an installation or it’s the specially crafted file to be used as-is?

May I change it to look like “VAR=value” pairs?
What may get affected in the QNX4 after such a change?

Tony.

A typo: I meant to ask about /etc/default/login file.

Tony.

Tony <mts.spb.suxx@mail.ru> wrote:
T > On Fri, 01 Oct 2004 19:44:45 +0400, Tony <mts.spb.suxx@mail.ru> wrote:

Is it the user-configurable sample file to be modified during an installation or it’s the specially crafted file to be used as-is?

May I change it to look like “VAR=value” pairs?
What may get affected in the QNX4 after such a change?

Tony.

T > A typo: I meant to ask about /etc/default/login file.

T > Tony.

I believe that this file indicates to ‘login’ what environment variables
are to be preserved across log-ins.

If you add new pairs then they will be preserved across log-ins too.

If you remove a pair, then they won’t be preserved.

To “assign” new VAR=value pairs either put them in /etc/profile to take
effect for all users or put it in ~/.profile for each user that you want
those new pairs to be effective on.

On 1 Oct 2004 21:34:38 GMT, Bill Caroselli <qtps@earthlink.net> wrote:

I believe that this file indicates to ‘login’ what environment variables
are to be preserved across log-ins.
Aha!

That’s why those variables are just mentioned there but not initialized?

If you add new pairs then they will be preserved across log-ins too.
As you can see - theese are not pairs, just variable names.



To “assign” new VAR=value pairs either put them in /etc/profile to take
effect for all users or put it in ~/.profile for each user that you want
those new pairs to be effective on.
So, it is absolutely wrong to modify QNX’s /etc/default/login to look more UNIX-like? I need it when porting thing like SSH to QNX4…

Tony.

On 1 Oct 2004 21:34:38 GMT, Bill Caroselli <qtps@earthlink.net> wrote:

I believe that this file indicates to ‘login’ what environment variables
are to be preserved across log-ins.
Aha!

That’s why those variables are just mentioned there but not initialized?

If you add new pairs then they will be preserved across log-ins too.
As you can see - theese are not pairs, just variable names.



To “assign” new VAR=value pairs either put them in /etc/profile to take
effect for all users or put it in ~/.profile for each user that you want
those new pairs to be effective on.
So, it is absolutely wrong to modify QNX’s /etc/default/login to look more UNIX-like? I need it when porting thing like SSH to QNX4…

Tony.