HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trying to set system wide variable for CDE login
Operating System - HP-UX
1834931
Members
2479
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 02:20 PM
08-02-2002 02:20 PM
I set the /etc/profile variable for SHLIB_PATH and when I tried setting it for CDE login I fail. I can't seem to find out where to set this variable so whom ever logs in gets the variabel SHLIB_PATH if it hasn't been set already.
Thanks for your help.
Thanks for your help.
if I only knew I wouldn't be here-- ???
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 03:20 PM
08-02-2002 03:20 PM
Solution
/etc/profile is not read by default when users login via CDE. you can change this by making a link and modifying permissions:
#ln /etc/profile /etc/dt/config/Xsession.d/profile
#chmod +rx /etc/dt/config/Xession.d/profile.
Alternatively, you can copy:
sfu cp -p /usr/dt/config/sys.dtprofile /etc/dt/config/sys.dtprofile
and edit the one in /etc with whatever variables you want. HOWEVER, this would only affect new users - you would need to modify .dtprofile in all the current users' home directory via this method.
#ln /etc/profile /etc/dt/config/Xsession.d/profile
#chmod +rx /etc/dt/config/Xession.d/profile.
Alternatively, you can copy:
sfu cp -p /usr/dt/config/sys.dtprofile /etc/dt/config/sys.dtprofile
and edit the one in /etc with whatever variables you want. HOWEVER, this would only affect new users - you would need to modify .dtprofile in all the current users' home directory via this method.
If at first you don't succeed, go to the ITRC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 03:50 PM
08-02-2002 03:50 PM
Re: Trying to set system wide variable for CDE login
slight case of fat-fingering my reply. For the chmod portion:
# chmod +rx /etc/dt/config/Xsession.d/profile
NO period at the end, and it's Xsession.d, NOT Xession.d
this should work for 11.00, but I'm not sure if it would would on 10.20. What version on HP-UX are you running?
# chmod +rx /etc/dt/config/Xsession.d/profile
NO period at the end, and it's Xsession.d, NOT Xession.d
this should work for 11.00, but I'm not sure if it would would on 10.20. What version on HP-UX are you running?
If at first you don't succeed, go to the ITRC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 03:56 PM
08-02-2002 03:56 PM
Re: Trying to set system wide variable for CDE login
I am running HP-UX 11.i. It worked. I copied sys.dtprofile over and edited the users that have already been logged in.
Thanks for your help.
Thanks for your help.
if I only knew I wouldn't be here-- ???
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP