SUMMARY: CDE and setting up restricted path

From: Marc S. Gibian (gibian@stars1.hanscom.af.mil)
Date: Mon Oct 28 1996 - 10:27:45 CST


I need to setup a restricted path within a CDE context. I have recieved only one
reply, indicating I need to update /usr/dt/bin/Xsession, or at least configure
dtlogin to use a custom version located somewhere else. Also, this changes the
setup for every session, so it must identify those users that should be
restricted and those that should not and act accordingly.

The only problem with this is that CDE is doing additional path mangling that we
are having a tough time tracking down. It appears to be impossible, or next to
impossible, to set things up without /usr/dt/bin in the user's path.

Thanks to:
"Mike Roberts " <mike.michael.roberts@tva.gov>

for his reply.

-Marc

Marc S. Gibian
Telos Consulting Services phone: (617) 377-6350
PRISM/TFS email: gibian@stars1.hanscom.af.mil
----------------------
>From mike.michael.roberts@tva.gov Thu Oct 24 13:03:00 1996
Date: Thu, 24 Oct 1996 12:59:36 -0400 (EDT)
From: "Mike Roberts " <mike.michael.roberts@tva.gov>
To: gibian@stars1.hanscom.af.mil
Subject: Re: CDE and setting up restricted path
X-Orcl-Application: In-Reply-To:
SMTP.TVA.GOV:sunmgrs-request@fozzie.cha.tva.gov's message of 24-Oct-96 11:15
MIME-Version: 1.0

 
Your problem is probably with /usr/dt/bin/Xsession, a script which is run by
dtlogin automatically. Most of the environmental variables CDE uses outside
of dtprofile are set there. There's one obvious warning, changes here would
effect everyone, not just the users you're trying to limit.
 
Mike Roberts
cmrobert@tva.gov

attached mail follows:


I need to configure some usernames such that they do not have the /usr/dt/bin in
their path. I am substituting a directory I am setting up that contains links to
the /usr/dt/bin items they are allowed to use. Unfortunately, the CDE
initialization is adding /usr/dt/bin to the user's path, even when I force their
path to what I want as the last item in their .login file (.dtprofile has
DTSOURCEPROFILE=true and these users are setup with /bin/csh).

How do I prevent CDE from adding /usr/dt/bin, or any other path elements, to
selected users?

TIA,
Marc

Marc S. Gibian
Telos Consulting Services phone: (617) 377-6350
PRISM/TFS email: gibian@stars1.hanscom.af.mil



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:14 CDT