The Following 29 Users Say Thank You to thp For This Useful Post: | ||
|
2012-05-15
, 07:15
|
Posts: 44 |
Thanked: 85 times |
Joined on Nov 2011
|
#2
|
|
2012-07-04
, 17:06
|
Posts: 256 |
Thanked: 110 times |
Joined on Jan 2012
@ Europe
|
#3
|
|
2013-03-04
, 10:54
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#4
|
This does nothing more than a "passwd -d root" in the postinst script, and is trivial to rewrite from scratch, but just for convenience, here it is as a nice package:
Instructions: README
Binary: reset-root-password_1.0.0_all.deb
Source: reset-root-password_1.0.0.dsc and reset-root-password_1.0.0.tar.gz
On a related note (being Captain Obvious here), this also demonstrates that "setting your root password to something else than 'rootme'" does not help you in cases where you install random .debs from the Internet, so be careful out there.