From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669622034.tru64-unix-managers.marc@archive.invalid> From: Jean-Luc Date: Wed, 22 Aug 2001 01:37:03 +0000 To: tru64-unix-managers Subject: SUMMARY: root su to users needs password X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669622034 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------=_NextPart_000_0062_01C12AFE.C39EAB60" 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
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=20 patch kit3) installation. It has already cured my = problem.
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.
 
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
Fro= m=20 Dr. Blinn

You seem to be assuming that = logging in as root=20 and doing an "su" to be
root are supposed to be completely equivalent = from a=20 security point of
view.  In fact, the system knows you are not = logged in=20 as root, and it
is looking at your login ID, not your currect = effective UID,=20 to decide
whether to prompt you for a password.  It would = probably be=20 possible to
change this behavior if you had all the sources for the = "su"=20 utility and
were willing to make source changes that might have side = effects=20 that
you don't understand.  It's not a "feature" you can = disable in any=20 easy
way short of changing the source and rebuilding (and it may not = even=20 be
in the "su" utility itself, it may be in a library, and changing = any=20 of
the security libraries is VERY risky). =

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
> =
> Dear=20 managers,
>
> When I login as root on console, then su to = other=20 users, there is no
> password prompt. But when I login as non-root = and su=20 to root(which is
> the more secure way for remote root login), = then if I=20 try to su to other
> users, I get the password prompt ! This may = be good=20 but sometimes it's
> just too annoying especial when I want to = test=20 something new before
> publishing to all users. How can I disable = the=20 feature?
>
> I'm using Tru64 5.1 rev 732
>=20
------=_NextPart_000_0062_01C12AFE.C39EAB60--