Language Selection

English French German Italian Portuguese Spanish

Recovering deleted /etc/shadow password file

Filed under
HowTos

Even if you boot in single user mode it will ask root password for maintenance, and just imagine you do not have a backup of /etc/shadow file. How will you fix such problem in a production environment where time is critical factor? Relax here I will explain how to recover deleted /etc/shadow file in five easy steps. It will take around 10 min. to fix problem.

Well all it started when one of our client accidentally deleted /etc/shadow file from co-located Debian Linux server. As a result, all account login disabled. However, ftp was working fine because proftpd was build using MySQL database for authentication and quota management.

Step # 1 Boot server in single user mode

Full Article.

More in Tux Machines

Leftovers: Software

Sysadmin Day

  • Happy Sysadmin Day!
    To all you systems administrators out there, wherever and whomever you are: Happy Systems Administrators Day! That's right, ladies, gentlemen and emacs users, the yearly holiday of sysadmin day is upon us! This year marks the 17th annual sysadmin day and with any luck 17-fold increase in appreciation to some of the most frequently un-and-under appreciated people in any organization. You deserve a hurrah, some cake and – for some among you – your own private island.
  • 11 Awesome Linux T-Shirts for Every System Administrator
    No, this article will not be about coding dresses, however, we will show you 11 Linux t-shirts that will make a system administrator to look better, fun and knowledgeable. I promise that the t-shirts that you will see below will make you want to have each one of them.

Openwashing

Games for GNU/Linux