On Thu, 17 Feb 2000, Ric Moore wrote:

> Adrian Walters wrote:
> > 
> > got no response on this the last time but i figured i would try again.....
> > 
> > i already have quota set up on two of my partitions, now i want to be able
> > to have it echo a message upon login that says when a user is over quota
> > and by how much . i know this can be done on solaris, but i am not sure
> > how to do on linux. can anyone point me in the right direction...
> 
> While I remain clueless as how to get the messages to the user, I do
> know that disk quotas are a kernel option that would have to be turned
> on? Anyone use this that can help? Adrian, if no one comes to the
> rescue, then check the kernel Documentation for clues... it is a kernel
> option, so there should be hints/pointers there. 


How about just running "/usr/bin/quota" from "/etc/bashrc", for example.
Or you may want to have a perl script that runs /usr/bin/quota and write
an approperaite output to the user's tty.

Hossein

P.S: The Unix mentality is that you probably will not find a program that
does EXACTLY what you want, nothing more nothing less; but there are many
small general-purpose utilities that you can glue together to get EXACTLY
what you want.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to