Thread View: comp.sys.ibm.pc.rt
4 messages
4 total messages
Started by Paul Kerchen
Thu, 01 Jun 1989 15:45
filesize limit
Author: Paul Kerchen
Date: Thu, 01 Jun 1989 15:45
Date: Thu, 01 Jun 1989 15:45
16 lines
1302 bytes
1302 bytes
Does anyone know how to change the default file size limit in csh? I know that 'limit filesize xxxxx' will change the file size limit to xxxxx, but there is a problem with this: In order to *increase* the file size limit, one must be root or a member of the system group. This is fine if you are root, but what if you're not? I want to make the default file size limit larger than what it is, but I see no way of doing this. The problem isn't that I don't have root access (I do); the problem is that I see no way of increasing the file size limit for a non-root, non-system group user (but there *must* be a way, right?). I'm running AIX 2.2.1, for what it's worth. [Incidentally, this was the cause for the failed xftp/rcp problem which I posted about recently.] Paul Kerchen | kerchen@iris.ucdavis.edu
Re: filesize limit
Author: Chuck Karish
Date: Thu, 01 Jun 1989 21:35
Date: Thu, 01 Jun 1989 21:35
12 lines
1070 bytes
1070 bytes
In article <4474@ucdavis.ucdavis.edu> kerchen@iris.ucdavis.edu (Paul Kerchen) wrote:
>Does anyone know how to change the default file size limit in csh?
Under AIX 2.2.1, each user's filesize limit is controlled by a
flag in /etc/passwd. It can be manipulated with the 'adduser'
command. ksh recognizes this number; I haven't verified that
csh has been properly modified. If not, complain to your system
engineer.
Chuck Karish {decwrl,hpda}!mindcrf!karish
(415) 493-7277 karish@forel.stanford.edu
Re: filesize limit
Author: Nicholas J. Simicich
Date: Fri, 02 Jun 1989 04:56
Date: Fri, 02 Jun 1989 04:56
29 lines
1667 bytes
1667 bytes
In article <4474@ucdavis.ucdavis.edu> kerchen@iris.ucdavis.edu (Paul Kerchen) writes: >Does anyone know how to change the default file size limit in csh? >I know that 'limit filesize xxxxx' will change the file size limit to >xxxxx (.....) Well, if you look in the adduser command, and then enter "c u userid-you-want-to-change", it will display a list of attributes of that userid. One of the attributes is "filesize", and it can be changed. After that, the user can login again, and the new filesize will be in effect. I believe that login interprets this and sets it for the user's login session. (The filesize parameter is stored in /etc/passwd with the username, and is separated from the username by a slash, which breaks some software that tries to parse the username field.) An alternative is to add something similar to the following line to /etc/environment, and then to reboot your system. init interprets the /etc/environment file, and those parameters are inherited by all processes which are started by /etc/rc. filesize=232700 Official spokesman? Not me. -- Nick Simicich --- uunet!bywater!scifi!njs --- njs@ibm.com (Internet)
Re: filesize limit, another way
Author: STEVE ROSEMAN
Date: Fri, 02 Jun 1989 10:30
Date: Fri, 02 Jun 1989 10:30
27 lines
1464 bytes
1464 bytes
In article <2641@portia.Stanford.EDU>, karish@forel.stanford.edu (Chuck Karish) writes:
> In article <4474@ucdavis.ucdavis.edu> kerchen@iris.ucdavis.edu (Paul Kerchen) wrote:
>
>
>>Does anyone know how to change the default file size limit in csh?
> Under AIX 2.2.1, each user's filesize limit is controlled by a
> flag in /etc/passwd. It can be manipulated with the 'adduser'
> command. ksh recognizes this number; I haven't verified that
> csh has been properly modified. If not, complain to your system
> engineer.
>
> Chuck Karish {decwrl,hpda}!mindcrf!karish
> (415) 493-7277 karish@forel.stanford.edu
--
The easiest way I found (although finding it wasn't easy) is to place
the following 2 lines into /etc/environment. (The 250000 could be any
big number. That's just what I have.)
filesize=250000
export filesize
-------------------------------------------------------------------------
Steve Roseman
Lehigh University Computing Center
LUSGR@VAX1.CC.Lehigh.EDU
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads