- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Limiting home directory size
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
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
тАО05-03-2004 07:38 AM
тАО05-03-2004 07:38 AM
Limiting home directory size
I would like to put the limit at the 200MB per user. How can I do that for the existing users (they don't have a limit at this point) as well as, what would be the best way to that for the new users.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 07:42 AM
тАО05-03-2004 07:42 AM
Re: Limiting home directory size
Take a look at the quota command the online manuel has it all.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 07:48 AM
тАО05-03-2004 07:48 AM
Re: Limiting home directory size
You need to implement quotas for the file system. quotas uses the userID to determine the usage. It would also be a good idea to implement a previleged group (without CHOWN) to prevent smart users from changing the ownership to a different user and abuse the quotas :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 07:57 AM
тАО05-03-2004 07:57 AM
Re: Limiting home directory size
What will happen with the users that have over 300MB data in their home directory and I want to limit their space to 300MB?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 08:07 AM
тАО05-03-2004 08:07 AM
Re: Limiting home directory size
there are 2 limits (soft and hard limits). if you use a soft limit of 300 mb the user will be warned to cleanup his homedir, if you use the hard limit the user will get difficulties to logon, read his email etc.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 12:49 PM
тАО05-03-2004 12:49 PM
Re: Limiting home directory size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 02:35 PM
тАО05-03-2004 02:35 PM
Re: Limiting home directory size
1. write prorams that don't core dump (sorry about that)
2. Change the working directory to /var/tmp or /tmp
3. Change ulimit to prevent core dumps: ulimit -Sc 0 (then change it back if a core dump is desired)
Bill Hassell, sysadmin