Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!bywater!scifi!njs From: njs@scifi.UUCP (Nicholas J. Simicich) Newsgroups: comp.sys.ibm.pc.rt Subject: Re: filesize limit Summary: check the adduser command Keywords: csh, filesize Message-ID: <625@scifi.UUCP> Date: 2 Jun 89 04:56:38 GMT References: <4474@ucdavis.ucdavis.edu> Reply-To: njs@scifi.UUCP (Nicholas J. Simicich) Distribution: usa Organization: Nick Simicich, Peekskill, NY Lines: 29 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)