From: lombardi emanuele <lele () mantegna ! casaccia ! enea ! it>
To: tru64-unix-managers
Subject: ADDENDUM: why once you are root using "su -" do you still have your
Date: Tue, 15 Dec 1998 16:29:03 +0000 [thread overview]
Message-ID: <96078731111986.tru64-unix-managers.marc@archive.invalid> (raw)
Going further in the study of the above topic, I discovered that
once you are logged as a no-root user, if you use
/usr/bin/login root
to become root, you will NOT be given full root limits. It seems that
your new root limits will not exceed the value of those you had as
no-root user.
It happens the same for /usr/bin/login as for /usr/bin/su - !!
It seems strange to me, can anybody tell me
1) why does it happen;
2) how to get full root limits without logging directely
as root? (For obvious security reasons I don't want to allow remote root
logins).
Thank you everybody,
Emanuele
--
Emanuele Lombardi
mail: AMB-GEM-CLIM ENEA Casaccia
I-00060 S.M. di Galeria (RM) ITALY
mailto:lele@mantegna.casaccia.enea.it
tel +39 6 30483366 fax +39 6 30483591
This transmission was made possible by 100% recycled electrons.
============================================ ROOT LIMITS AS GIVEN
============================================ LOGGING DIRECTELY AS ROOT
telnet -l root botticelli
Trying 192.107.71.111...
Connected to botticelli.casaccia.enea.it.
Escape character is '^]'.
Digital UNIX (botticelli.casaccia.enea.it) (ttyp3)
login: root
Password:
Last successful login for root: Tue Dec 15 16:57:33 1998 from climult2.casaccia.enea.it
Last unsuccessful login for root: Tue Dec 15 16:56:26 1998 on ttyp0
Digital UNIX V4.0D (Rev. 878); Wed Aug 26 11:43:19 MET DST 1998
BO ~ limit
cputime unlimited
filesize unlimited
datasize 131072 kbytes
stacksize 2048 kbytes
coredumpsize 0 kbytes
memoryuse 1023392 kbytes
vmemoryuse 1048576 kbytes
descriptors 4096
============================================ USER LIMITS AS GIVEN
============================================ LOGGING AS NO-ROOT USER
telnet -l lele botticelli
Trying 192.107.71.111...
Connected to botticelli.casaccia.enea.it.
Escape character is '^]'.
Digital UNIX (botticelli.casaccia.enea.it) (ttyp3)
login: lele
Password:
Last successful login for lele: Tue Dec 15 16:58:00 1998 on ttyp3
Last unsuccessful login for lele: Tue Dec 15 16:05:19 1998 on ttyp2
Digital UNIX V4.0D (Rev. 878); Wed Aug 26 11:43:19 MET DST 1998
BO ~ limit
cputime 15:00
filesize unlimited
datasize 71680 kbytes
stacksize 2048 kbytes
coredumpsize 0 kbytes
memoryuse 71680 kbytes
vmemoryuse 71680 kbytes
descriptors 4096
BO ~ unlimit
BO ~ limit
cputime 15:00
filesize unlimited
datasize 71680 kbytes
stacksize 32768 kbytes
coredumpsize 0 kbytes
memoryuse 71680 kbytes
vmemoryuse 71680 kbytes
descriptors 4096
============================================ ROOT LIMITS AS GIVEN
============================================ LOGGING TO ROOT FROM USER
============================================>>>> THE LIMITS ARE STILL THOSE
============================================>>>> OF THE USER, NOT THOSE
============================================>>>> OF ROOT
BO ~ /usr/bin/login root
Password:
Last successful login for root: Tue Dec 15 16:58:34 1998 from climult2.casaccia.enea.it
Last unsuccessful login for root: Tue Dec 15 16:56:26 1998 on ttyp0
Digital UNIX V4.0D (Rev. 878); Wed Aug 26 11:43:19 MET DST 1998
BO ~ limit
cputime 15:00
filesize unlimited
datasize 71680 kbytes
stacksize 32768 kbytes
coredumpsize 0 kbytes
memoryuse 71680 kbytes
vmemoryuse 71680 kbytes
descriptors 4096
BO ~ unlimit
BO ~ limit
cputime 15:00
filesize unlimited
datasize 71680 kbytes
stacksize 32768 kbytes
coredumpsize 0 kbytes
memoryuse 71680 kbytes
vmemoryuse 71680 kbytes
descriptors 4096
reply other threads:[~1998-12-15 16:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox