On Wed, Nov 30, 2005 at 04:53:42PM +0100, Krizsán László wrote:
> 
[...]
> 
> ----- Original Message ----- 
> From: "Michelle Konzack" <[EMAIL PROTECTED]>
> To: <debian-user@lists.debian.org>
> Sent: Wednesday, November 30, 2005 4:09 PM
> Subject: Re: [root user] How to disable root account?
> 
> 
> >grep -vE "^root:" /etc/passwd >/etc/passwd.tmp
> >       mv /etc/passwd.tmp /etc/passwd

[...]

This is *not* the way to disable the root account.  Just run
'passwd -l root' to disable the account and 'passwd -u root' to enable
it.  Obviously, you will need to establish root privileges somehow to do
either.

Do not edit passwd &c by hand unless you really know why you're doing it
that way.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to