Date: Sun, 24 Nov 2002 14:41:26 -0500 From: "Grant Peel" <grant@thenetnow.com> To: <freebsd-questions@FreeBSD.ORG> Subject: Default Quotas and Regex Searches Message-ID: <000901c293f1$7f7942d0$6401a8c0@grant>
next in thread | raw e-mail | index | archive | help
Hi all, A while back I set something somewhere so that when I add a new user, the OS (FreeBSD 4.4) sets a default user quota for that new user. I have since decided to give users more space, but can;t remember where I set up the default *sigh*. Does anyone know where new user default quotas are set? I need to set up some scripts, but an reletively new to shell scripting. I was wondering if anyone could give me a primer on how to search through text files (example httpd.conf) and add /delete / replace lines based on matching the strings "ServerName" "</VirtualHost>". For example, If I want to write a script to set up new Webalizer logs, I would make the script add a file in the webalizer dir to add a conf file (domain.ext.conf) then would need to add the TransferLog directive to a specific <VirtualHost> ... </VirtualHost> directive. -Grant Grant W. Peel Server Admin grant@thenetnow.com http://thenetnow.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c293f1$7f7942d0$6401a8c0>