Because of your carelessness, after forgetting the original user password after building vsftp on Linux, you need to check the contents of the vsftp login authentication database db file, then how to do it? Do it? The following small series teaches you how to view the database db file in vsftp in Linux.
When building vsftp, many people will use db_load establish a database file for the virtual users. However, if it is the successor to take over, just did not do this handover, it is more troublesome —— For example, my predecessor did not leave too much information on VSFTP, so I had to check it myself, so hard.
After several twists and turns, I finally confirmed that the username and password of vsftp are placed in a file called vsftpd_login.db. However, this file cannot view the content. I don’t know how many users can log in to vsftp. The username and password are啥 ……
Checked the virtual user of vsftp, learned that this is the database file generated by the db_load program, but there is no information on the Internet to mention how to restore the file, I am still stupid to find & ldquo ; contains a file with a known username and password, I have not finished reading this. ……
Find the db_load program, placed in the /usr/bin directory, ls - l /usr/bin/db* See a large number of executable files at the beginning of db_. In my experience, db_dump should be able to export the contents of the .db file and the program corresponding to db_load. Baidu and google did not find the Chinese information of the db_dump command, but had to check the keyword "db_dump man", and found the result
http://www.manpagez.com/man/1/db_dump/
Using the command
The code is as follows:
/usr/bin/db_dump -da /etc/vsftpd/vsftpd_login.db
Finally shows all usernames and passwords Amitabha, good and good.
Make a record to commemorate this, and give a mark to the latecomers to the English language.
The above is the method of viewing the vsftp database db file under Linux. If you have forgotten the original user password file, you can directly view the vsftp file.
Among many Linux commands, the expect command is less common. We can use the expect
uGet is a download artifact similar to Thunder in Linux, and the new version of uGet2 will have more
If the hardware clock and system clock in the Linux system are not synchronized, it may cause some e
The oracle database is one of the most popular server databases. It can handle dist
Linux uses commands to clear the terminal screen
How to openmp multithreaded programming on Linux system
Ubuntu how to set up system update reminder
What can I do if Sublime Text cannot be imported into Chinese in Linux?
Linux yum prompt ERROR: how to solve the dbus error?
How to use the echo command in Linux?
Linux uses xfs when there is no disk space. How to deal with
Linux finds the way to replace text content by command.
What should I do if Linux vi is stuck?
How Linux uses commands to free memory
Linux network management command list
What should I do if the Linux system SSH timeout is disconnected?
Windows 7 game account security book
Win10 play lol blue screen flash back good card how to do?
Win10 system can not run Tencent battle game platform solution
Solution for limited network connection under Win7 system
Vista teaches you to optimize disk performance
Unknown features under windows7 system
Win10 preview version 10558 English version ISO image leaked download address 64-bit
Win10 RS2 Quick Preview Edition 14936 supports offloading applications
Microsoft recently pushed KB3035583 to Win7/8.1 users again: prompting users to upgrade win10