[SLUG] Changing Root's username reprised: [sf-incid] Re: hack that changes root to Root (fwd)

From: R P Herrold (herrold@owlriver.com)
Date: Tue Feb 26 2002 - 16:40:58 EST


This topic crossed the SLUG list in the last couple weeks --
others are thinking the same thoughts.

-- Russ Herrold

---------- Forwarded message ----------
Date: Tue, 26 Feb 2002 21:17:27 +0200
From: Yotam Rubin <yotam@makif.omer.k12.il>
To: incidents@securityfocus.com
Subject: [sf-incid] Re: hack that changes root to Root

On Mon, Feb 25, 2002 at 05:49:05PM -0700, James wrote:
> Anyone know of a hack that changes root (user name) to Root ?

The login name or the real name? The former is abstractly achieved by
"cat /etc/{passwd,shadow} | sed 's/^root:/Root/'". This may break some
scripts you currently use, and well, the security gain is insignificant.

        Regards, Yotam Rubin



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:47:52 EDT