sure, here is just the quota lines. the uid is retrieved by opening the /etc/shadow file and using split to seperate the values. the webspace var is input from STDIN
----- Original Message ----- From: "Ramprasad A Padmanabhan" <[EMAIL PROTECTED]> To: "mat harris" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Ramprasad A Padmanabhan" <[EMAIL PROTECTED]> Sent: Friday, July 19, 2002 12:59 PM Subject: Re: quotas > Can you cut paste the code lines that dont work > ( any way Quota::strerr() is the way of getting the errors in case u > missed it ) > > > On Fri, 2002-07-19 at 16:57, mat harris wrote: > > yup, it is running as root for sure. Part of the script shells to the > > adduser command so if it wasn't root it would fail there. > > > > ----- Original Message ----- > > From: "Ramprasad A Padmanabhan" <[EMAIL PROTECTED]> > > To: "mat harris" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]>; "Ramprasad A Padmanabhan" > > <[EMAIL PROTECTED]> > > Sent: Friday, July 19, 2002 11:39 AM > > Subject: Re: quotas > > > > > > > I have used it and works fine. Check if u are running it as root > > > > > > On Fri, 2002-07-19 at 16:03, mat harris wrote: > > > > ok, i have had a go with the Quota module but it does nothing, does not > > > > change the quotas, not even an error message. does anyone have > > experience > > > > with it? > > > > > > > > thanks > > > > > > > > ----- Original Message ----- > > > > From: "Ramprasad A Padmanabhan" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]>; "Mat Harris" <[EMAIL PROTECTED]> > > > > Cc: <[EMAIL PROTECTED]> > > > > Sent: Friday, July 19, 2002 6:51 AM > > > > Subject: Re: quotas > > > > > > > > > > > > > There is a perl module Quota get it from CPAN > > > > > > > > > > Mat Harris wrote: > > > > > > hi, how can i edit a users' filesystem quota on redhat 7.3 from a > > perl > > > > > > script. i know that you can use the edquota program on the command > > line > > > > > > but that is an editor-style environment and thus would require an > > expect > > > > > > script. is there some command-line flags that work with edquota or > > > > > > anything to let me do this or is there a module that is easier to > > > > > > understand than quota-1.4.4? thanks > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > Ramprasad A Padmanabhan > > > Sr Software Engineer > > > Netcore Solns Pvt Ltd > > > Mumbai > > > ph - (022) 4628000 > > > > > > > > > -- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > Ramprasad A Padmanabhan > Sr Software Engineer > Netcore Solns Pvt Ltd > Mumbai > ph - (022) 4628000 > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
add_user.pl
Description: Binary data
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]