why once you are root using "su -" do you still have your previous limits ?

From: lombardi emanuele <lele_at_mantegna.casaccia.enea.it>
Date: Tue, 15 Dec 1998 15:54:11 +0100 (MET)

Dear alpha friends,

  I just noticed that once I switched from my normal uid to root using
  /usr/bin/su -
  I still have my original limits and I cannot raise them even if root's
  limits are higher.

  I use C2 on my Dunix 4.0d machines.

  My root account has no limits (that is they are all unlimited) while
  my normal account has some limits (cputime, memoryuse,vmemoryse ...)

  Since I use C2 and I do not allow remote login for root, I cannot
  login as user and then /usr/ to get full root limits.
  I see only two ways to gain full root limits:
  
    1) go to console and login from there as root.
    2) high my user's limits but I would like to avoid that.

  Do you see any other way to gain full root limits NOT being at the
  console and still using C2 ?

P.S. It seems that when you su - you always get the minimum
among your limits and the destination account limits. Is that
true?
 

Thank you very much,
Emanuele

-- 
 Emanuele Lombardi
 mail:  AMB-GEM-CLIM ENEA Casaccia
        I-00060 S.M. di Galeria (RM)  ITALY
 mailto:lele_at_mantegna.casaccia.enea.it
 tel	+39 6 30483366 fax	+39 6 30483591
     This transmission was made possible by 100% recycled electrons.
Received on Tue Dec 15 1998 - 14:56:42 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT