- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- umask question.
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
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
07-16-2002 11:28 AM
07-16-2002 11:28 AM
We are using our own program to add users in an NIS environment. i found currently the umask is set to 00. what would be a good value for the umask to be set and if so what should be the best place to set it?(/etc/profile)? so that the current environment should continue to work smoothly. Thanks in advance
Joe.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 11:31 AM
07-16-2002 11:31 AM
Re: umask question.
I will be very happy if my users can let me set '077' that leaves a default of 700 permissions.
However '022' is appropriate for most of the cases.
You can set it in /etc/profile to make it global.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 11:32 AM
07-16-2002 11:32 AM
Re: umask question.
As per my knowledge the best value is 077. The owner will have the full permission and the group and world will have null permission.
But most of the people use 022 to give moderate permission to group and world.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 11:34 AM
07-16-2002 11:34 AM
Re: umask question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 11:42 AM
07-16-2002 11:42 AM
Re: umask question.
022 is appropriate in most cases. And you can have it included in suitable profiles under /etc depending on a user's default shell.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 11:45 AM
07-16-2002 11:45 AM
Re: umask question.
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 11:46 AM
07-16-2002 11:46 AM
Re: umask question.
022 or 077 is best you can leave.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 04:27 PM
07-16-2002 04:27 PM
Re: umask question.
In other words, with 777 and 666 permissions all over the system, you can't trust the contents and will have to verify each file and directory. To get an idea of the magnitude of the problem, use this command:
find / -local \( -type f -o -type d \) -perm -002 -exec ll -d {} \; | more
Bill Hassell, sysadmin