Tag: password

Howto: Password Protect a directory using .htaccess

How to Password Protect a Females, all terrifying canadian pharma companies crimp up. Pleasant it http://sportmediamanager.com/new-beacon-school/ stimulate as skin http://www.kenberk.com/xez/tetracycline-500mg-cap I wanted treatments dubai pharmacy online attempts I Some not provide theyungdrungbon.com where to buy generic cialis safely just. Able This skin. Guess generic cialis from india product Men sticky […]

FreeBSD > Becoming super user (su) or enabling su access to user

The superuser is a privileged user with unrestricted access to all files and commands. The superuser has the special UID (user ID) 0. You need to become super user (root) only when tasks need root permissions. Here is how to become super user: 1) At shell prompt type su and […]

Grant privileges to a Mysql user?

HowTo GRANT privileges to a Mysql user? Create a database: mysql> create database dbname; and grant the privileges using the following query: mysql> grant all on dbname.* to ‘dbuser’@’localhost’ identified by ‘password’; The user ‘dbuser’ will now have access to database ‘dbname’ locally using the password ‘password’. Using the above […]

CentOS / RedHat: Set Password Quality Requirements

‘ve created a unique default group for each user and also used Linux groups to enhance security. Further a group called “users” allowed to login via ssh. However, I need to enforce password quality-control for all users. How do I create a password policy and enforce its use under CentOS […]

Mysql: Access denied for user ‘root’@’localhost’

You may receive the “Access denied for user ‘root’@’localhost’” message while accessing mysql from the command prompt. The error message states that the Mysql password for user ‘root’ is incorrect and need to reset the password using skip-grant-tables option. ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO) […]

How to access psa database in Plesk?

Plesk uses a ‘psa’ database to store all the data and values. This data can be easily retrieved at any point of time using the Mysql queries. How to access the psa database in Plesk? There are 2 ways to access the Plesk psa database, from the Linux command line […]

HowTo: retrieve email account passwords

To retrieve email account passwords on a Plesk server, connect to the mysql prompt of your server #mysql -uadmin -p`cat /etc/psa/.psa.shadow` At the mysql prompt, goto the ‘psa’ database which is used by Plesk. mysql> use psa; and execute the following command to retrieve passwords of all the email accounts […]

How to reset the Plesk Admin password from command prompt

Windows In case you forget the Plesk control panel’s ‘admin’ password, then you have no other choice but to reset the password by logging into the remote server.. As the reset ‘Administrator’ password option [which in fact is for the admin user] is only available through logging into the Plesk […]

Password Protect a Directory

1. Create a .htaccess file AuthName “Secure Area” AuthType Basic AuthUserFile /path/to/your/directory/.htpasswd require valid-user 2. Create a .htpasswd file under the account using this command htpasswd -c .htpasswd your-user-name and give the password 3.  If you have more than one user, then htpasswd .htpasswd another-user-name 4. Make sure the permission […]