Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!jetson.uh.edu!elee4fg From: elee4fg@jetson.uh.edu Newsgroups: comp.unix.aix Subject: Re: AIX problems Message-ID: <9369.282f1e5f@jetson.uh.edu> Date: 13 May 91 23:16:47 CDT References: <9357.282caa94@jetson.uh.edu> <7513@awdprime.UUCP> Organization: University of Houston Lines: 56 In article <7513@awdprime.UUCP>, dcm@codesmith.austin.ibm.com (Craig Miller) writes: > In article <9357.282caa94@jetson.uh.edu> elee4fg@jetson.uh.edu writes: >>From: seng Gan >>Star Enterprise >> >>1) csh does not support suid. If your csh suid scripts file has this >> #!/bin/csh >> It won't work. >> Your need to do this in ksh > > I believe this is not an AIXism but is a BSDism. The BSD4.3 > csh source I have access to does not support suid either. This > is documented, I believe. > >> /bin/csh ( without #!/bin/csh ) > > Are you sure this really works? Suid scripts have never worked > without "#!". Your script may run, but it won't run suid. > >>6) Increase your process limit >> your need to edit /usr/include/sys/limits.h >> CHILD_MAX to increase your number of process allowed per user id >> in ksh 40 is too small for root >> chdev -l sys0 -A maxuproc has no effect in ksh > > > (a) /usr/include/sys/limits.h has no effect on process limits (unless > you're rebuilding your kernel). Are you rebuilding your kernel? > > (b) I wasn't aware that max number of procs per user was enforced > for root. If it is, it shouldn't be (IMHO). > > (c) What does ksh have to do with process limits? Can you give a > more specific example of why "chdev -l sys0..." has no effect > in ksh (vs sh or csh). > > > Craig > -- > Craig Miller Internet: dcm@aixwiz.austin.ibm.com > IBM Austin Vnet: tkg007 at ausvmq > AIXV3 Change Team (level3) IBM internal: dcm@littleguy.austin.ibm.com > "I do not represent IBM or any other respectable company." a) It has no general process limits unless you are running ksh. Try it out. if you run ksh and you are root, the normal limit is 40 per user id. b) Yes it is enforced on root. c) That problems only occurs when you are in ksh. The process limits in ksh is defined in limits.h per user id. This problem is documented by IBM SystemXtra. Why don't people in IBM talk to each other??????? Seng C. Gan By the way, I run AIX 3.1 with 3002 patch on Model 540 and Model 530 Call me if you want to know the problem number. Tel:(713)874-7816