- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CDE env variables
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
04-07-2005 05:47 AM
04-07-2005 05:47 AM
CDE env variables
I need to set the umask for CDE users and cannot figure out where to make the entry. For telnet, it's /etc/profile - simple enough.
What is the equivalent location for CDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 05:49 AM
04-07-2005 05:49 AM
Re: CDE env variables
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 05:55 AM
04-07-2005 05:55 AM
Re: CDE env variables
In each user's .dtprofile, I set it to source /etc/profile as well:
DTSOURCEPROFILE=true
. /etc/profile;
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 05:57 AM
04-07-2005 05:57 AM
Re: CDE env variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 05:58 AM
04-07-2005 05:58 AM
Re: CDE env variables
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 06:03 AM
04-07-2005 06:03 AM
Re: CDE env variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 06:08 AM
04-07-2005 06:08 AM
Re: CDE env variables
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 06:08 AM
04-07-2005 06:08 AM
Re: CDE env variables
I want to set the umask value for all CDE users globally.
It doesn't appear that Xconfig is the answer. Sourcing each users .profile as Pete suggested will work, but is not a global solution.
I came across this http://docs.hp.com/en/B1171-90162/ch02s04.html but cannot get any additional syntax info to see if this is the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 06:18 AM
04-07-2005 06:18 AM
Re: CDE env variables
Write a little sed script to insert the "dot space /etc/profile" line in /home/*/.dtprofile, then change the umask in /etc/profile. Then it's global for everyone.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 06:40 AM
04-07-2005 06:40 AM
Re: CDE env variables
Sourcing /etc/profile in users .dtprofile works and a PERL or SED script can handle adding this entry to existing users. It's not very clean/complete in the event new users are added I will have to revisit it each time.
Thanks for the help. I'll post anything else I find in my travels regarding this issue.
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 06:47 AM
04-07-2005 06:47 AM
Re: CDE env variables
I use sam to add users and in Actions > Task Customization, have added a "command to run after adding users". I'm attaching my command script, which copies a standard set of basic files into the new users' home directory
Pete