08-08-2006
User Quota setting with NIS and NAS
Hi Guru,
Need some advice on the PROs and CONs between setting up user quota with NAS and Nis.
Thanks
Regards. YLL
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can I check mail quota, and then how can I send mail to user whose quota get full??? :confused:
For this which script must I use? (8 Replies)
Discussion started by: emreatlier
8 Replies
2. Linux
I've a redhat 9.0 and I want to set a user quota.
but the question is where should I start from and
How ???
:confused: :confused: :confused: :confused: (2 Replies)
Discussion started by: KaiXiang
2 Replies
3. Solaris
I'm some what new to Unix and I recently have been thrown into a system administration role. I created this thread because I I wish to setup NIS in my lab and I thought this could be benificial to me and many others.
I am followig the Sun System Administation Guide: Naming and Directory... (9 Replies)
Discussion started by: meyersp
9 Replies
4. Solaris
I have a Solaris NIS master server to manage my Solaris NIS clients' passwd, group, shadow. I also have a EMC NAS.
The NAS is NFS mounted on my clients. I would like to use disk quota to manage my users.
From what I read from the SUN doc, quota can be implemented on the Solaris NFS client... (0 Replies)
Discussion started by: izy100
0 Replies
5. UNIX for Dummies Questions & Answers
hi!
i would like to enable user quota on my system (FreeBSD 6.2)
i've check on enabling user quota here but i still confuse with fstab
it shows there:
/dev/da1s2g /home ufs rw,userquota 1 2
but my current /etc/fstab :
# Device Mountpoint FStype Options ... (1 Reply)
Discussion started by: rdns
1 Replies
6. Solaris
Hi All,
I get below error while running
cd /var/yp
/usr/sbin/ypinit -m
Error Code - 1
updated netmasks
make : warning : target all not remade because of errors
current working dir /var/yp
*** error code 1 ***
make : fatal error : command failed for target 'k'
error running... (4 Replies)
Discussion started by: naw_deepak
4 Replies
7. Red Hat
Hi,
I want to apply the user quota, but i am unable to apply the quota to user.
Kindly provide the guide line, so that i can sortout the problem.
Step 1: Create partion on device
#fdisk /dev/sda (because hard disk is scsi)
#n (new partition table) i.e /dev/sda8.
#p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies
8. UNIX for Advanced & Expert Users
Whats the best method of setting lvm user quota? I saw both of these and I am not sure which to use.
Linux File System Quotas
Howtos Linux-Vserver With LVM And Quotas - 5dollarwhitebox.org Media Wiki (1 Reply)
Discussion started by: cokedude
1 Replies
9. Red Hat
Hi,
I would like to know wheather we can increase the quota for particular user automatically?
I am having requirement to increase the quota only for 2 days in a week. but that shoule be automatically instead of manualy modification.
is it possible? (3 Replies)
Discussion started by: manoj.solaris
3 Replies
10. Red Hat
I would like to set quota for ALL USERS on a particular filesystem and the quota to be set for NEWLY CREATED USERS also.
I am not sure, whether my question is clear. I can set quota for all users but my requirement is, I want the same quota to be set automatically for the user which is going... (2 Replies)
Discussion started by: atanubanerji
2 Replies
LEARN ABOUT CENTOS
rlm_ippool_tool
RLM_IPPOOL_TOOL(8) System Manager's Manual RLM_IPPOOL_TOOL(8)
NAME
rlm_ippool_tool - dump the contents of the FreeRadius ippool database files
SYNOPSIS
If an ipaddress is specified then that address is used to limit the actions or output.
rlm_ippool_tool [-a] [-c] [-o] [-v] session-db index-db [ipaddress]
Mark the entry nasIP/nasPort as having ipaddress
rlm_ippool_tool -n session-db index-db ipaddress nasIP nasPort
Update old format database to new.
rlm_ippool_tool -u session-db new-session-db
DESCRIPTION
rlm_ippool_tool dumps the contents of the FreeRADIUS ippool databases for analyses or for removal of active (stuck?) entries.
Or with the -n argument adds a usage entry to the FreeRADIUS ippool databases.
OPTIONS
-a Print all active entries.
-c Report number of active entries.
-r Remove active entries.
-v Verbose report of all entries.
-o Assume old database format (nas/port pair, not md5 output).
-n Mark the entry nasIP/nasPort as having ipaddress.
-u Update old format database to new.
EXAMPLES
Given the syntax in the FreeRadius radiusd.conf:
ippool myippool {
range-start = 192.0.2.0
range-stop = 192.0.2.255
[...]
session-db = ${raddbdir}/ip-pool.db
ip-index = ${raddbdir}/ip-index.db
}
To see the number of active entries in this pool, use:
$ rlm_ippool_tool -c ip-pool.db ip-index.db
13
To see all active entries in this pool, use:
$ rlm_ippool_tool -a ip-pool.db ip-index.db
192.0.2.5
192.0.2.82
192.0.2.244
192.0.2.57
192.0.2.120
192.0.2.27
[...]
To see all information about the active entries in the use, use:
$ rlm_ippool_tool -av ip-pool.db ip-index.db
NAS:172.16.1.1 port:0x2e8 - ipaddr:192.0.2.5 active:1 cli:0 num:1
NAS:172.16.1.1 port:0x17c - ipaddr:192.0.2.82 active:1 cli:0 num:1
NAS:172.16.1.1 port:0x106 - ipaddr:192.0.2.244 active:1 cli:0 num:1
NAS:172.16.1.1 port:0x157 - ipaddr:192.0.2.57 active:1 cli:0 num:1
NAS:172.16.1.1 port:0x2d8 - ipaddr:192.0.2.120 active:1 cli:0 num:1
NAS:172.16.1.1 port:0x162 - ipaddr:192.0.2.27 active:1 cli:0 num:1
[...]
To see only information of one entry, use:
$ rlm_ippool_tool -v ip-pool.db ip-index.db 192.0.2.1
NAS:172.16.1.1 port:0x90 - ipaddr:192.0.2.1 active:0 cli:0 num:0
To add an IP address usage entry, use:
$ rlm_ippool_tool -n ip-pool.db ip-index.db 192.0.0.1 172.16.1.1 0x90
rlm_ippool_tool: Allocating ip to nas/port: 172.16.1.1/144
rlm_ippool_tool: num: 1
rlm_ippool_tool: Allocated ip 192.0.2.1 to client on nas 172.16.1.1,port 144
SEE ALSO
radiusd(8)
AUTHORS
Currently part of the FreeRADIUS Project (http://www.freeradius.org) Originally by Edwin Groothuis, edwin@mavetju.org
(http://www.mavetju.org)
Mailing list details are at http://www.freeradius.org/
RLM_IPPOOL_TOOL(8)