- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: umask for daemons at boot time
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
Discussions
Discussions
Forums
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
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
тАО06-20-2001 12:42 PM
тАО06-20-2001 12:42 PM
umask for daemons at boot time
this questions is for both 10.x and 11.x
thanks.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2001 01:04 PM
тАО06-20-2001 01:04 PM
Re: umask for daemons at boot time
If the daemons you speek of are the ones that inetd start as a result of network connections (like telnetd and ftpd), you can edit /etc/inetd.conf and set your umask for the daemons there.
For example, change
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
to
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 077
to switch from the default 027 to 077.
You can also place a "global" umask in /etc/profile like "umask 077". This will affect all users.
Cheers,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2001 01:25 PM
тАО06-20-2001 01:25 PM
Re: umask for daemons at boot time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2001 01:56 PM
тАО06-20-2001 01:56 PM
Re: umask for daemons at boot time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 07:15 AM
тАО06-25-2001 07:15 AM
Re: umask for daemons at boot time
thanks....jim mc....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 10:23 AM
тАО06-25-2001 10:23 AM
Re: umask for daemons at boot time
umask 022
directive in /sbin/rc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 07:40 AM
тАО07-02-2001 07:40 AM
Re: umask for daemons at boot time
In the step by step daemon creation is the setting of the file mode creation mask (umask) to ZERO. It has to be set to ZERO and then to the specified value required by the daemon process.
If the daemon process is going to create files, it may want to set specific permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 07:53 AM
тАО07-02-2001 07:53 AM