I tried using the dtk intrusion detection system and I get errors within the code, has anyone been able to successfully use this package, then I will ask my question I think it has something to do with perl scripts Question 2 I am using quota and I had to import user directories into a new box. I imported them, had to recreate the quota.user file in the home directory I set up usrquota in the fstab file, and and reinitialized quota by rebooting,cause I put the script in the boot script after proc is loaded, like the howto said I use midnight commander to view files, and found that the quota user for the / directory is green with a "*" next to it, while the /home file is just grey, now when I type quota I should see a list of the files and disk usage for the users I have set it for(which I have) edquota -u <username> now I am trying to see why this wont work. Any ideas
One other thing, I type in quota and the user name and it tells me what they are using, but if I just type quota just the root comes up, how do I get a list of everyone. -----Original Message----- From: Michael Garabedian [mailto:mikejr@emergyscorp.com] Sent: Tuesday, March 26, 2002 8:55 AM To: suse-linux-e@suse.com Subject: [SLE] Two Questions...QUOta and DTK I tried using the dtk intrusion detection system and I get errors within the code, has anyone been able to successfully use this package, then I will ask my question I think it has something to do with perl scripts Question 2 I am using quota and I had to import user directories into a new box. I imported them, had to recreate the quota.user file in the home directory I set up usrquota in the fstab file, and and reinitialized quota by rebooting,cause I put the script in the boot script after proc is loaded, like the howto said I use midnight commander to view files, and found that the quota user for the / directory is green with a "*" next to it, while the /home file is just grey, now when I type quota I should see a list of the files and disk usage for the users I have set it for(which I have) edquota -u <username> now I am trying to see why this wont work. Any ideas -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
And then send the output to an email address I want to put a job in cron that takes the output of quota and puts it into a file for the admin who gets the email. -----Original Message----- From: Michael Garabedian [mailto:mikejr@emergyscorp.com] Sent: Tuesday, March 26, 2002 8:55 AM To: suse-linux-e@suse.com Subject: [SLE] Two Questions...QUOta and DTK I tried using the dtk intrusion detection system and I get errors within the code, has anyone been able to successfully use this package, then I will ask my question I think it has something to do with perl scripts Question 2 I am using quota and I had to import user directories into a new box. I imported them, had to recreate the quota.user file in the home directory I set up usrquota in the fstab file, and and reinitialized quota by rebooting,cause I put the script in the boot script after proc is loaded, like the howto said I use midnight commander to view files, and found that the quota user for the / directory is green with a "*" next to it, while the /home file is just grey, now when I type quota I should see a list of the files and disk usage for the users I have set it for(which I have) edquota -u <username> now I am trying to see why this wont work. Any ideas -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
Okay quota is working now, I had to uninstall it and reinstall it. So I run quota * on the home drive and I get some output but it stops on lost+found and says that it is not a user. How do I stop this. And I found something about mailto I am going to put > output on the end of a cron job that will create the file output then I want to mail it should I just say mailto: mikejr < output. -----Original Message----- From: Michael Garabedian [mailto:mikejr@emergyscorp.com] Sent: Tuesday, March 26, 2002 9:01 AM To: 'Michael Garabedian'; suse-linux-e@suse.com Subject: RE: [SLE] Two Questions...QUOta and DTK And then send the output to an email address I want to put a job in cron that takes the output of quota and puts it into a file for the admin who gets the email. -----Original Message----- From: Michael Garabedian [mailto:mikejr@emergyscorp.com] Sent: Tuesday, March 26, 2002 8:55 AM To: suse-linux-e@suse.com Subject: [SLE] Two Questions...QUOta and DTK I tried using the dtk intrusion detection system and I get errors within the code, has anyone been able to successfully use this package, then I will ask my question I think it has something to do with perl scripts Question 2 I am using quota and I had to import user directories into a new box. I imported them, had to recreate the quota.user file in the home directory I set up usrquota in the fstab file, and and reinitialized quota by rebooting,cause I put the script in the boot script after proc is loaded, like the howto said I use midnight commander to view files, and found that the quota user for the / directory is green with a "*" next to it, while the /home file is just grey, now when I type quota I should see a list of the files and disk usage for the users I have set it for(which I have) edquota -u <username> now I am trying to see why this wont work. Any ideas -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
Here is a script i use on our mail server to report quotas ------------------------------------------------------------------------------------- #!/bin/bash # Script to check quotas and see who is over quota quotacheck -a repquota -a > /tmp/quotas.txt awk '{print $1,$3}' /tmp/quotas.txt > /tmp/quotareport.txt more /tmp/quotareport.txt | mail cwhitten@nexband.com ------------------------------------------------------------------------------------- I put this in /etc/cron.weekly and it runs every week On Tuesday 26 March 2002 08:00 am, Michael Garabedian wrote:
And then send the output to an email address I want to put a job in cron that takes the output of quota and puts it into a file for the admin who gets the email.
-----Original Message----- From: Michael Garabedian [mailto:mikejr@emergyscorp.com] Sent: Tuesday, March 26, 2002 8:55 AM To: suse-linux-e@suse.com Subject: [SLE] Two Questions...QUOta and DTK
I tried using the dtk intrusion detection system and I get errors within the code, has anyone been able to successfully use this package, then I will ask my question I think it has something to do with perl scripts
Question 2
I am using quota and I had to import user directories into a new box. I imported them, had to recreate the quota.user file in the home directory I set up usrquota in the fstab file, and and reinitialized quota by rebooting,cause I put the script in the boot script after proc is loaded, like the howto said I use midnight commander to view files, and found that the quota user for the / directory is green with a "*" next to it, while the /home file is just grey, now when I type quota I should see a list of the files and disk usage for the users I have set it for(which I have) edquota -u <username> now I am trying to see why this wont work.
Any ideas
-- Chad Whitten Network/Systems Administrator neXband Communications cwhitten@nexband.com
participants (2)
-
Chad Whitten
-
Michael Garabedian