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
02-13-2009 02:30 PM
02-13-2009 02:30 PM
umask
HP-UX B.11.11 U 9000/800
I have ensured that umask doesn't get set in /etc/profile and .profile
However, the default umask is set to 077 rather than 022. Can someone explain at what stage during booting process and from which configuration file does default umask value gets set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2009 03:43 PM
02-13-2009 03:43 PM
Re: umask
The '/etc/profile' and '${HOME}/.profile' are sourced (read) in that order for user logins whose default shell (as specified in '/etc/passwd') is the POSIX shell ('/sbin/sh' or '/usr/bin/sh') or the Korn shell ('/usr/bin/ksh'). If your user is defined with the C-shell as a default ('/usr/bin/csh') then different rules apply --- see the FILES section of the 'csh' manpages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2009 03:44 PM
02-13-2009 03:44 PM
Re: umask
You could check the umask setting in the /sbin/init.d/inetd script.
If you change the setting in this script, you will have to restart the inet daemon.
# /sbin/init.d/inetd stop
# /sbin/init.d/inetd start
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2009 03:47 PM
02-13-2009 03:47 PM
Re: umask
You could check the umask setting in the /sbin/init.d/inetd script.
The umask for inetd is normally set in the script /sbin/init.d/inetd. The default value is 000. This can be modified, then the inetd umask can be changed by executing:
# /sbin/init.d/inetd stop
# /sbin/init.d/inetd start
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2009 09:32 PM
02-13-2009 09:32 PM
Re: umask
Ensured as in edited those files and removed it? Or just checked and you can't find it?
I think umask for normal users gets set in /sbin/rc or in some file(s) in /etc/rc.config.d/*.
There maybe other umask settings as mentioned by Robert-Jan. And one by ftpaccess(4).