- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CDE and umask
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
10-31-2002 08:03 AM
10-31-2002 08:03 AM
(HP-UX 11i)
I have set umask to 022 in /etc/profile for telnet connections. I want to do the same with CDE logins...
I found I needed to create a link on /etc/profile in /etc/dt/config/Xsession.d but it doesn't work (umask is always set to 02).
I stopped/started the dtlogin daemon with no success (the /.dt/startlog file doesn't show that the /etc/profile file is always not read...
How to do ?
Thanx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 08:12 AM
10-31-2002 08:12 AM
Re: CDE and umask
Uncomment the following line:
#DTSOURCEPROFILE=true
This is the last line in the .dtprofile
This will cause the profile to be read when logging in to CDE. It is located in /$HOME/.dt
HTH,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 08:19 AM
10-31-2002 08:19 AM
Re: CDE and umask
DTSOURCEPROFILE=true
and then to get it to read the /etc/profile for system wide setups I also include the line:
. /etc/profile
that gets it to "source" the /etc/profile file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 08:26 AM
10-31-2002 08:26 AM
Re: CDE and umask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2002 08:30 AM
10-31-2002 08:30 AM
SolutionCreate a script in '/etc/dt/config/Xsessions.d' to contain the
following information:
umask 77 # or desired value
chmod 755 /etc/dt/config/Xsessions.d/<script_name>
Perform the following steps to set the umask for a single user on a
CDE login:
1. Add the following line to '$HOME/.profile':
umask 777 # or desired value
2. chmod 755 $HOME/.profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:16 PM
11-01-2002 01:16 PM
Re: CDE and umask
Ray