Re: [root user] How to disable root account?
- To: firstname.lastname@example.org
- Subject: Re: [root user] How to disable root account?
- From: Robert Brockway <email@example.com>
- Date: Sun, 8 Jan 2006 00:00:12 -0500 (EST)
- Message-id: <[🔎] Pine.LNX.firstname.lastname@example.org>
- In-reply-to: <email@example.com>
- References: <4385DD74.firstname.lastname@example.org> <20051124150022.GA20910@miami.familiasanchez.net> <email@example.com> <firstname.lastname@example.org> <Pine.LNX.email@example.com> <firstname.lastname@example.org>
On Fri, 25 Nov 2005, Maxim Vexler wrote:
On 11/25/05, Robert Brockway <email@example.com> wrote:
Anyone wanting to lock the root account (not a good idea IMHO) should
have a root enabled session (sudo, su or whatever) put to the side and
not touched during the procedure. This session would be used only to
reverse the procedure if it was found that establishing superuser privs
was no longer possible in new sessions.
In the worst case, couldn't someone just boot from a livecd, run
[passwd root], then [cat /etc/shadow | grep root] on the livecd and
finally simply copying that entry into the locked out system shadow
Sure but this involves bringing the system down. If you don't allow the
three fingered salute on the console to reboot or halt the system then it
involves bringing the system down badly. If we are talking of a
production system this is a _very bad thing_ even after hours.
Robert Brockway B.Sc. Phone: +1-416-669-3073
Senior Technical Consultant Email: firstname.lastname@example.org
OpenTrend Solutions Ltd. Web: www.opentrend.net
We are open 24x365 for technical support. Call us in a crisis.