From owner-freebsd-questions Wed Jun 3 00:16:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA13045 for freebsd-questions-outgoing; Wed, 3 Jun 1998 00:16:48 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA13038 for ; Wed, 3 Jun 1998 00:16:44 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id AAA22765; Wed, 3 Jun 1998 00:16:41 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 3 Jun 1998 00:16:41 -0700 (PDT) From: Doug White Reply-To: Doug White To: Dirk-Willem van Gulik cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD-Questions: Crontab seems to give shell different limits than the normal user In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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