Operating System - HP-UX
1748156 Members
4107 Online
108758 Solutions
New Discussion юеВ

Disable the copyright message on CDE login

 
Paul Ostrowski
Occasional Contributor

Disable the copyright message on CDE login

whre do i disable the copyright message on cde login.
7 REPLIES 7
Devender Khatana
Honored Contributor

Re: Disable the copyright message on CDE login

Hi,

#mv /etc/copyright /etc/copyright.bak


HTH,
Devender
Impossible itself mentions "I m possible"
DCE
Honored Contributor

Re: Disable the copyright message on CDE login

move /etc/copyright to /etc/copyright.original

touch /etc/copyright to create a zero byte file.

Dave La Mar
Honored Contributor

Re: Disable the copyright message on CDE login

Or...
Comment the cat /etc/copyright in the /etc/profile.

Many options, though what I mention will affect other types of sessions as well as CDE.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Raj D.
Honored Contributor

Re: Disable the copyright message on CDE login

Hi Paul,

1. You can disable in /etc/profile
----------------
# This is to meet legal requirements...

cat /etc/copyright
------------------

Put a # before cat.

2. move the file /etc/copyright
# mv /etc/copyright /etc/copyright.bak


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Sameer_Nirmal
Honored Contributor

Re: Disable the copyright message on CDE login

Hi,

CDE copyright message could be disabled using
# mv /usr/dt/copyright /usr/dt/copyright.bak

I think the /etc/copyright is a system wide file.

Just wondering why you want to disable for CDE???
john kingsley
Honored Contributor

Re: Disable the copyright message on CDE login

The copyright message is invoked by CDE from the /usr/dt/bin/Xsession file. To disable the message you need to create a file in /etc/dt/config/Xsession.d that redefines the dtstart_hello variable to null.

So, for example create file:
/etc/dt/config/Xsession.d/0005.no_copyright

and add the line:
dtstart_hello[0]=" "

A. Clay Stephenson
Acclaimed Contributor

Re: Disable the copyright message on CDE login

I suspect that you will be violating licensing agreements if you do not display the copyrights.
If it ain't broke, I can fix that.