Re: [root user] How to disable root account?
- To: debian-user@lists.debian.org
- Subject: Re: [root user] How to disable root account?
- From: Robert Brockway <rbrockway@opentrend.net>
- Date: Sun, 8 Jan 2006 00:00:12 -0500 (EST)
- Message-id: <[🔎] Pine.LNX.4.64.0601072355500.29068@mimosa.opentrend.net>
- In-reply-to: <b400c69a0511250333o732e568es13c1ad1edee3fd47@mail.gmail.com>
- References: <4385DD74.8050200@abulafia.it> <20051124150022.GA20910@miami.familiasanchez.net> <43861361.1000501@yahoo.com> <87y83dx2fz.fsf@lucien.dreaming> <Pine.LNX.4.64.0511250445570.31157@mimosa.opentrend.net> <b400c69a0511250333o732e568es13c1ad1edee3fd47@mail.gmail.com>
On Fri, 25 Nov 2005, Maxim Vexler wrote:
On 11/25/05, Robert Brockway <rbrockway@opentrend.net> 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
file ?
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.
Rob
--
Robert Brockway B.Sc. Phone: +1-416-669-3073
Senior Technical Consultant Email: support@opentrend.net
OpenTrend Solutions Ltd. Web: www.opentrend.net
We are open 24x365 for technical support. Call us in a crisis.
Reply to: