HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Quota,email aliases
Operating System - HP-UX
1834089
Members
2273
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-03-2002 07:24 AM
07-03-2002 07:24 AM
Disk Quota,email aliases
Hi,
How do you setup disk quotas for users? Does anytool have this functionality on HP-UX?
How do you setup email aliases for users?
I want to do this when I am creating a user account.
Any information on this is appreciated.
Regards,
Jayesh
How do you setup disk quotas for users? Does anytool have this functionality on HP-UX?
How do you setup email aliases for users?
I want to do this when I am creating a user account.
Any information on this is appreciated.
Regards,
Jayesh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:50 AM
07-03-2002 07:50 AM
Re: Disk Quota,email aliases
Hi,
eg. For vxfs fs on /test
# touch /test/quotas
# vi /etc/fstab # add quota in the filesystem options
/dev/vg00/lvol2 /test vxfs rw,suid,nolargefiles,quota 0 2
# quotaon /test # if you want the quotas to take effect now instead of reboot or you can umount and mount the file system
# man 1 quota
# man 5 quota
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/49-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/49-toc.html&searchterms=quota&queryid=20020627-090520
Piyush
eg. For vxfs fs on /test
# touch /test/quotas
# vi /etc/fstab # add quota in the filesystem options
/dev/vg00/lvol2 /test vxfs rw,suid,nolargefiles,quota 0 2
# quotaon /test # if you want the quotas to take effect now instead of reboot or you can umount and mount the file system
# man 1 quota
# man 5 quota
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/49-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/49-toc.html&searchterms=quota&queryid=20020627-090520
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:50 AM
07-03-2002 07:50 AM
Re: Disk Quota,email aliases
Hi
I will give U the procedure for setting up the Disk quota. Make a note of this and proceed. Here I am giving example to impliment quota in /home filesystem.
#cpset /dev/null /home/quotas 600 root bin
Here /dev/null is for making size to zero
/home is the root of the file system where U are implimenting quota.
600 is the mode and root:bin is the owner and group. Then
#edquota
Now U will get an editor. Here enter the limits in blocks, and number of inodes, then save and come out. For more information see man edquota
Now there are three ways to enable the quota.
1. Turn on quota while booting. Modify the fstab like this
/dev/vg00/lvol4 /home hfs rw,suid,quota 0 2
2. Turn on disk quota by mounting FS
umount /home
mount -o quota /dev/vg00/lvol4 /home
3. Turn on by command
#quotaon -v /home
I hope now U are clear.
Email alias U don't need to configure while creating users. See the documents for sendmail configuration.
Best of luck
Shahul
Best of luck
Shahul
I will give U the procedure for setting up the Disk quota. Make a note of this and proceed. Here I am giving example to impliment quota in /home filesystem.
#cpset /dev/null /home/quotas 600 root bin
Here /dev/null is for making size to zero
/home is the root of the file system where U are implimenting quota.
600 is the mode and root:bin is the owner and group. Then
#edquota
Now U will get an editor. Here enter the limits in blocks, and number of inodes, then save and come out. For more information see man edquota
Now there are three ways to enable the quota.
1. Turn on quota while booting. Modify the fstab like this
/dev/vg00/lvol4 /home hfs rw,suid,quota 0 2
2. Turn on disk quota by mounting FS
umount /home
mount -o quota /dev/vg00/lvol4 /home
3. Turn on by command
#quotaon -v /home
I hope now U are clear.
Email alias U don't need to configure while creating users. See the documents for sendmail configuration.
Best of luck
Shahul
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:55 AM
07-03-2002 07:55 AM
Re: Disk Quota,email aliases
Disk quotas is fairly easy to setup - Check the documentation in the HP Manual "System Admin Tasks" or here
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90672/B2355-90672_top.html&con=/hpux/onlinedocs/B2355-90672/00/00/52-con.html&toc=/hpux/onlinedocs/B2355-90672/00/00/52-toc.html&searchterms=quotas&queryid=20020703-090044
Aliases can be setup in the /etc/mail/aliases file eg
nick : nxw
nxw : nick.wickens@twefs.co.uk
This sets an alias of Nick to connect to the mail address for user nxw.
You can also setup distribution lists such as
dba : nxw,frd,aqt
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90672/B2355-90672_top.html&con=/hpux/onlinedocs/B2355-90672/00/00/52-con.html&toc=/hpux/onlinedocs/B2355-90672/00/00/52-toc.html&searchterms=quotas&queryid=20020703-090044
Aliases can be setup in the /etc/mail/aliases file eg
nick : nxw
nxw : nick.wickens@twefs.co.uk
This sets an alias of Nick to connect to the mail address for user nxw.
You can also setup distribution lists such as
dba : nxw,frd,aqt
Hats ? We don't need no stinkin' hats !!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP