- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Update user quota limit
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
тАО12-28-2004 03:07 PM
тАО12-28-2004 03:07 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 03:20 PM
тАО12-28-2004 03:20 PM
Re: Update user quota limit
I would suggest to edit the quota for one user and then duplicate using a script to all the rest 349 users. ( That is only 2 commands)
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 04:52 PM
тАО12-28-2004 04:52 PM
Re: Update user quota limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 05:20 PM
тАО12-28-2004 05:20 PM
Re: Update user quota limit
cat /etc/passwd |awk -F: '{print $1}' > /tmp/users
for i in 'cat /tmp/users'
do
edquota $i
done
read the manual pages of edquota (man edquota) before performing this opeartion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 09:17 PM
тАО12-28-2004 09:17 PM
Re: Update user quota limit
Should it not be 5 MB softlimit and 10 MB hardlimit ?
A user will get a warning as the softlimit is reached.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 09:43 PM
тАО12-28-2004 09:43 PM
Re: Update user quota limit
I hv generated a file called /tmp/users
#vi /tmp/users
user1
user2
then run the script
for i in 'cat /tmp/users'
do
edquota $i
done
but it report the error :
edquota: User cat doesn't exist.
could suggest what is wrong , thx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 10:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 10:37 PM
тАО12-28-2004 10:37 PM
Re: Update user quota limit
I tried your method , but still have problem , after run the script , it pop the error below , could suggest what is wrong ? thx
"/var/tmp/EdP.a24823" 1 line, 75 characters
how
~
ks (soft = 100000, hard = 100000) inodes (soft = 0, hard = 0)
~
~
~
~
~
Input read error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2004 11:31 PM
тАО12-28-2004 11:31 PM
Re: Update user quota limit
in your script above, you should use:
for i in `cat /tmp/users`
instead of:
for i in 'cat /tmp/users'
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2004 12:20 AM
тАО12-29-2004 12:20 AM
Re: Update user quota limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2005 03:57 PM
тАО02-23-2005 03:57 PM
Re: Update user quota limit
can you try the following?
cat /etc/passwd |awk -F: '{print $1}' > /tmp/quota
for i in `cat /tmp/quota`
do
edquota -p
done
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2005 07:27 PM
тАО02-23-2005 07:27 PM