Re: changing root account nameFrom: Gaz Wilson (email@example.com)
- Previous message: Alexander List: "Re: IPChains leak for UDP!?"
- In reply to: Philipp Schulte: "Re: changing root account name"
- Next in thread: Jose Nazario: "RE: changing root account name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 31 Oct 2001 18:42:13 +0000 (GMT) From: Gaz Wilson <firstname.lastname@example.org> To: Philipp Schulte <email@example.com> Subject: Re: changing root account name Message-ID: <Pine.LNX.firstname.lastname@example.org>
> On Tue, Oct 30, 2001 at 10:12:34AM -0500, Kurt Yoder wrote:
> > Would there be any benefit in changing the account name of "root"? For
> > instance, I could change the uid 0 account to have the name "foobar".
> > Then, if someone were trying to break into the root account, they would
> > have an additional step; instead of logging in as root, they'd first
> > have to find out what the uid 0 account was called.
> less /etc/passwd | grep "0:0"
In fact correct me if I'm wrong, but lots of Unices simply expect the
superuser account to be the first line in the passwd file? I seem
to remember reasing something about it years ago?
So if that's the case, as any user:
head -n 1 /etc/passwd
Would work every time! the example above ending in "grep 0:0" wouldn't
necesarilly work, for instance, root on Solaris looks thus:
-- _ _ _a' /( <. # DragonLord - above all expectations /_/ _ _/ / ` / _ ~~ _}\ \( _ ) # E-Mail: email@example.com / \ /_'/_/ /_, / /_||/|/ \(,_(,)' # Info: www.dragons.org.uk/redclaw.html Catch me with the Dragons.. ._>, _>, # Chat: http://www.redclaw.org.uk/