OTPW – A one-time password login package

Abstract The OTPW package consists of the one-time-password generator otpw-gen plus two verification routinesotpw_prepare() and otpw_verify() that can easily be added to programs such as login or ftpd on POSIX systems. For platforms that support the Pluggable Authentication Method (PAM) interface, a suitable wrapper is included as well. Login software extended this way will allow […]

Read More →
How to secure SSH login with one-time passwords on Linux

As someone says, security is a not a product, but a process. While SSH protocol itself is cryptographically secure by design, someone can wreak havoc on your SSH service if it is not administered properly, be it weak passwords, compromised keys or outdated SSH client. As far as SSH authentication is concerned, public key authentication […]

Read More →
Linux Users and Sudo

Introduction Before we proceed, it would be best to cover some basic user administration topics that will be very useful in later chapters. Adding Users One of the most important activities in administering a Linux box is the addition of users. Here you’ll find some simple examples to provide a foundation for future chapters. It […]

Read More →
How to log in to MySQL server without password

In order to log in to a MySQL server, you can run mysql command along with your login credentials and server’s IP address as arguments. For example: $ mysql -u $MYSQL_ROOT -p $MYSQL_PASS -h 192.168.10.1 However, besides the inconvenience of typing extra arguments, using plain-text login credentials in a command line like above is really […]

Read More →
Vous avez perdu le mot de passe root de MySQL ?

Que ce soit lors de la première installation ou après la perte du mot de passe principal de MySQL, il est nécessaire de pouvoir modifier le mot de passe administrateur (root) de MySQL. Pour pouvoir modifier le mot de passe root de MySQL, il faut pouvoir s’y connecter, Or, si vous n’avez pas le mot […]

Read More →
How to reset the administrator password in ISPConfig 3 ?

Source: faqforge.com If you lost your ISPConfig 3 administrator password, you can reset it with the following SQL query. UPDATE sys_user SET passwort = md5(‘admin’) WHERE username = ‘admin’; The SQL query sets the password to “admin” for the user “admin”, it has to be executed in the ISPConfig mysql database, e.g. with phpmyadmin. If […]

Read More →