Jakse da nastavit pocet moznych loginu ?

Gabriel Svajko svajko na r-net.sk
Čtvrtek Březen 6 09:48:57 CET 1997


On Thu, 6 Mar 1997, Petr Barta wrote:

> > :  mam takovy problem - pouzivam RH 4.1 + shadow. System nastavil nejake
> > : default omezeni na pocet soubezne moznych loginu .. nevite nekdo, kde se to
> > : nastavuje a - pripadne - kde se da ovlovnit default hodnota ?
> > K cemu si myslis ze to bude dobry?!?!?!?
> > 
> > Kazdy si tam muze pustit procesu kolik chce -> je to k nicemu.
> 
> No, pocet procesu se da taky omezit - co treba takovy lshell...

 ulimit [ -Hacdflmnopstv ] [ limit ]
              Set or display a resource  limit.  When  setting  a
              limit  it  will  apply to the children of the shell
              but not to the shell itself. The value of limit can
              be  a  number  in  the  unit specified below or the
              value unlimited.  If the H flag is given  use  hard
              limits instead of soft limits.
              -a     Lists all of the current resource limits.
              -c     The number of 512-byte blocks on the size of
                     core dumps.
              -d     The number of K-bytes on  the  size  of  the
                     data segment.
              -f     The number of 512-byte blocks on the size of
                     files written.
              -l     The number of K-bytes on the size of locked-
                     in memory.
              -m     The  number of K-bytes on the size of physi-
                     cal memory.
              -n     The number of file descriptors.
              -o     The number of open files.
              -p     The number of processes.
              -s     The number of K-bytes on  the  size  of  the
                     stack.
              -t     The number of CPU seconds to be used.
              -v     The number of K-bytes on the size of virtual
                     memory.

> 					Petr Barta

snow

-
Gabriel Svajko
E-mail : svajko na r-net.sk
Phone  : +42-95-6442436




Další informace o konferenci Linux