Operating System - HP-UX
1832951 Members
2746 Online
110048 Solutions
New Discussion

Re: dthello substitution after trusted conversion

 
SOLVED
Go to solution
Brendan Newport_2
Frequent Advisor

dthello substitution after trusted conversion

I have an A180 that displayed the contents of /etc/motd to CDE dtlogin users through a script in /etc/dt/config/Xsession.d that runs the routinely-found;
dtstart+hello[0]="/usr/dt/bin/dthello -file /etc/motd &"

This worked fine. Logins would be greeted with the contents of /etc/motd.

However the workstation has been converted to a Trusted system, and now /etc/copyright is displayed, at the expense of /etc/motd.

My startlog shows the /etc/dt/config/Xsession.d being sourced, but ends with;

--- starting /usr/dt/bin/dthello -file /etc/copyright

However for the life of me I can't see what script or config file is being sourced/executed to have dthello run with /etc/copyright.

Any clues anyone?
2 REPLIES 2
Alex Glennie
Honored Contributor
Solution

Re: dthello substitution after trusted conversion

Try adding the following to your Xsession.d script :

dtstart_hello_info[0]="$DT_BINPATH/dthello -file $INFO_PATH -file /etc/motd &"

Xsession sets two values that can be used by dthello.
dtstart_hello[0]="$DT_BINPATH/dthello &"
dtstart_hello_info[0]="$DT_BINPATH/dthello -file $INFO_PATH -file
/etc/copyright &"
then later checks to see if the system is trusted by checking for
$INFO_PATH:
Brendan Newport_2
Frequent Advisor

Re: dthello substitution after trusted conversion

Worked first time Alex. 10 points I think.