Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 1998 00:16:41 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Dirk-Willem van Gulik <dirk.vangulik@jrc.it>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD-Questions: Crontab seems to give shell different limits than the normal user
Message-ID:  <Pine.BSF.3.96.980603001555.22038p-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.BSF.3.96.980602121105.3453O-100000@elpc36.jrc.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Jun 1998, Dirk-Willem van Gulik wrote:

> On 2.2.6-stable it seems that when a user has a script ran by crontab,
> the shell in which the script runs seems to be assigned lower limits
> (by /etc/login.conf??) than when you run it from the command line
> directly. Looking at the source for cron however suggest a simple
> setgroups() so where am I going wrong;
> 
> >From the command line: (sh ulimit -a)
> 
> data seg size           (kbytes, -d)  524288

>From crontab:

> data seg size           (kbytes, -d)  22528

Perhaps you have an `unlimit' in your .profile?  

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



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?Pine.BSF.3.96.980603001555.22038p-100000>