* SUMMARY: root su to users needs password
@ 2001-08-22 1:37 Jean-Luc
0 siblings, 0 replies; only message in thread
From: Jean-Luc @ 2001-08-22 1:37 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_0062_01C12AFE.C39EAB60", Size: 5928 bytes --]
This is a multi-part message in MIME format.
------=_NextPart_000_0062_01C12AFE.C39EAB60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanks for quick replies from:
Sreenivasa Prasad @digital.com
Dr. Thomas P. Blinn @compaq.com
Ann Majeske @compaq.com
Larry Clegg @inituit.com
Ann and Larry both suggested a Tru64 patch(V51 patch kit3) installation. =
It has already cured my problem.
Dr. Blinn gave me some more detailed background info, which is =
absolutely correct I think. But Tru64 "su" is just been designed and =
built in a more convenient (probably less secure) way. His reply is =
enclosed below for your info.
Cheers,
Alan Voker
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
From Dr. Blinn
You seem to be assuming that logging in as root and doing an "su" to be
root are supposed to be completely equivalent from a security point of
view. In fact, the system knows you are not logged in as root, and it
is looking at your login ID, not your currect effective UID, to decide
whether to prompt you for a password. It would probably be possible to
change this behavior if you had all the sources for the "su" utility and
were willing to make source changes that might have side effects that=20
you don't understand. It's not a "feature" you can disable in any easy
way short of changing the source and rebuilding (and it may not even be
in the "su" utility itself, it may be in a library, and changing any of
the security libraries is VERY risky).=20
Tom
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
original question
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Dear managers,
>=20
> When I login as root on console, then su to other users, there is no
> password prompt. But when I login as non-root and su to root(which is
> the more secure way for remote root login), then if I try to su to =
other
> users, I get the password prompt ! This may be good but sometimes it's
> just too annoying especial when I want to test something new before
> publishing to all users. How can I disable the feature?
>=20
> I'm using Tru64 5.1 rev 732
>=20
------=_NextPart_000_0062_01C12AFE.C39EAB60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks for quick replies =
from:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Sreenivasa Prasad =
@digital.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Dr. Thomas P. Blinn =
@compaq.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ann =
Majeske @compaq.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Larry Clegg @inituit.com</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Ann and Larry both suggested a Tru64 =
patch(V51=20
patch kit3) installation. It has already cured my =
problem.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Dr. Blinn gave me some more detailed =
background=20
info, which is absolutely correct I think. But Tru64 "su" is just been =
designed=20
and built in a more convenient (probably less secure) way. His reply is =
enclosed=20
below for your info.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Cheers,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Alan Voker</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>Fro=
m=20
Dr. Blinn</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>You seem to be assuming that =
logging in as root=20
and doing an "su" to be<BR>root are supposed to be completely equivalent =
from a=20
security point of<BR>view. In fact, the system knows you are not =
logged in=20
as root, and it<BR>is looking at your login ID, not your currect =
effective UID,=20
to decide<BR>whether to prompt you for a password. It would =
probably be=20
possible to<BR>change this behavior if you had all the sources for the =
"su"=20
utility and<BR>were willing to make source changes that might have side =
effects=20
that <BR>you don't understand. It's not a "feature" you can =
disable in any=20
easy<BR>way short of changing the source and rebuilding (and it may not =
even=20
be<BR>in the "su" utility itself, it may be in a library, and changing =
any=20
of<BR>the security libraries is VERY risky). =
<BR><BR>Tom<BR></DIV></FONT>
<DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>original question</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>> =
<BR>> Dear=20
managers,<BR>> <BR>> When I login as root on console, then su to =
other=20
users, there is no<BR>> password prompt. But when I login as non-root =
and su=20
to root(which is<BR>> the more secure way for remote root login), =
then if I=20
try to su to other<BR>> users, I get the password prompt ! This may =
be good=20
but sometimes it's<BR>> just too annoying especial when I want to =
test=20
something new before<BR>> publishing to all users. How can I disable =
the=20
feature?<BR>> <BR>> I'm using Tru64 5.1 rev 732<BR>>=20
<BR></FONT></DIV></FONT></BODY></HTML>
------=_NextPart_000_0062_01C12AFE.C39EAB60--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-22 1:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-22 1:37 SUMMARY: root su to users needs password Jean-Luc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox