[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: [root user] How to disable root account?
From:       d () jerkface ! net
Date:       2005-11-30 18:20:08
Message-ID: 20051130182007.GA8224 () jerkface ! net
[Download RAW message or body]

On Wed, Nov 30, 2005 at 04:53:42PM +0100, Krizsán László wrote:
> 
[...]
> 
> ----- Original Message ----- 
> From: "Michelle Konzack" <linux4michelle@freenet.de>
> 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 debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic