Message: previous - next
Month: March 2015

Re: [trinity-users] Next problem

From: Gene Heskett <gheskett@...>
Date: Fri, 20 Mar 2015 19:21:47 -0400

On Friday 20 March 2015 14:34:59 Gerhard Zintel wrote:
> On Friday 20 March 2015, Gene Heskett wrote:
> > password.  But the only way to get rid of a root password is a bare
> > metal reinstall.
> surely not. I don't know the answer by heart, but editing in
> /etc/passwd or /etc/shadow, or other files for sure gives you the
> possibility to get rid of the password.
> Here seems to be an answer to your question:
> In short:
> --- snip ---
> If you want to disable root account in ubuntu you need to lock the
> root account by using the following command
> $sudo passwd -l root
> --- snip ---

I just tried that, an unlike the last time, sudo still works.  That could 
be precisely be the answer. 

> I've not tested it though
> Gerhard

I just did test, but what that -l does is change the expiry time, so I've 
no clue atm how long it might still be good for.

Thanks Gerhard.

Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <>