Skip to contentSkip to conversation

Issues with seteuid()?

parisc-linux Randolph Chung 2 participants 3 messages Jan 30, 2003 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

[oops, forgot to send the last message to the list -- i had asked Joel for his ulimit settings]

Quoted 13 lines

Nothing that is not std (AFAIK & IIRC):

# ulimit -a
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) 5000
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 20

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Quoted 1 line

virtual memory (kbytes, -v) unlimited

That's the reason..... if you do 'ulimit -u unlimited' (or at least a bigger number) you should be ok.

randolph

#3 lore raw

Randolph,

...

Quoted 8 lines
Quoted 2 lines

cpu time (seconds, -t) unlimited
max user processes (-u) 20

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Quoted 1 line

virtual memory (kbytes, -v) unlimited

That's the reason..... if you do 'ulimit -u unlimited' (or at least a bigger number) you should be ok.

ulimit -u unlimited

(just for fun I can download to 64 for this test case; is there any means to determine a reasonnable value (unstable seems to set it to 999)?)

Thanks again for all,
Joel

PS: Where is defined this default?

*********************************************
Vous surfez toujours avec une ligne classique ?
Faites des economies avec Tiscali Complete...
Plus d'info sur ... http://complete.tiscali.be

#4 lore raw

PA,

Quoted 9 lines

...

Quoted 8 lines
Quoted 2 lines

cpu time (seconds, -t) unlimited
max user processes (-u) 20

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Quoted 1 line

virtual memory (kbytes, -v) unlimited

That's the reason..... if you do 'ulimit -u unlimited' (or at least a bigger number) you should be ok.

Quoted 8 lines

ulimit -u unlimited

(just for fun I can download to 64 for this test case; is there any means to determine a reasonnable value (unstable seems to set it to 999)?)

PS: Where is defined this default?

It seems to be my bad ;_().
It appears in my own apt-get update Log that I use the default (ie N) when
the update procedure of 'libpam-modules' dpkg proposed me to change '/etc/security/limits.conf.

Sorry and thanks again for your support,

Joel

*********************************************
Vous surfez toujours avec une ligne classique ?
Faites des economies avec Tiscali Complete...
Plus d'info sur ... http://complete.tiscali.be