- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- umask hpux 10.20
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-15-2002 07:05 AM
10-15-2002 07:05 AM
any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 07:07 AM
10-15-2002 07:07 AM
Re: umask hpux 10.20
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 07:22 AM
10-15-2002 07:22 AM
Re: umask hpux 10.20
try to force .profile to be used under cde.
add umask statement in .profile ...
system wide ;
/usr/dt/app-defaults/C/Dtterm
add *loginShell: True
or per user
vi $HOME/.Xdefaults
Dtterm*loginShell: True
see man dtterm(1)
may assist ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 07:39 AM
10-15-2002 07:39 AM
Re: umask hpux 10.20
feels lika somekind of workaround to force CDE to use .profile//etc/profile
somehow i get umask 02 as root when i login, but umask inst set in /etc/profile $HOME/.profile or $HOME/.dtprofile
and if i telnet to localhost as user or root i get umask 00
still no umask declared in any of those files.
and /sbin/rc declares umask 022
and on an other system i get 022 as umask, and still no umask declared in any of those files =/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 08:32 AM
10-15-2002 08:32 AM
Re: umask hpux 10.20
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 08:51 AM
10-15-2002 08:51 AM
Re: umask hpux 10.20
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 09:03 AM
10-15-2002 09:03 AM
Re: umask hpux 10.20
If the file /etc/profile exists, it is executed by the shell for every
user who logs in. The file /etc/profile should be set up to do only
those things that are desirable for every user on the system, or to
set reasonable defaults.
You're of course free to reinvent the wheel if you see fit, but I would hesitate to invest much time in CDE internals when it's already known that HP is abandoning CDE in favor of Gnome. This usage is exactly what /etc/profile is intended for and I really doubt that /etc/profile is going to go away.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 02:14 AM
10-16-2002 02:14 AM
Re: umask hpux 10.20
It is correct that sh sources it... but only when started as a login shell, which means its argv[0] starts with '-', e.g. '-sh'.
When you login to CDE then the desktop is started without /etc/profile. When you open a terminal window from here then the shell is started as non-login shell by default. So /etc/profile is never read.
This could be changed using Alex' suggestion above.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 02:17 AM
10-16-2002 02:17 AM
Re: umask hpux 10.20
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 08:30 AM
10-16-2002 08:30 AM
Re: umask hpux 10.20
I also assume that they open a terminal window, of course. Nevertheless, the profile is NOT read, since the shell is started as NON-login shell.
If you don't believe me, take a vanilla HP-UX with CDE, enter something to /etc/profile and login...
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 08:36 AM
10-16-2002 08:36 AM
Re: umask hpux 10.20
OK, I get it now. Thanks.
Pete
Pete