Reset WordPress admin/users password from Linux command line

How to reset WordPress admin/users password from Linux command line? Ans:  * Log into server as root. * Enter to MySQL command prompt. root@grand [~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 932677 Server version: 5.5.42-cll MySQL Community Server (GPL) Copyright (c) 2000, 2015, Oracle and/or its […]

Su: Cannot set user id: Resource temporarily unavailable

Error details:    # su – Password: su: cannot set user id: Resource temporarily unavailable Solution: Edit (add) or change the following values in /etc/security/limits.conf # vi /etc/security/limits.conf ————- * soft nproc 2047 * hard nproc 16384 * soft nofile 1024 * hard nofile 65536 ————- It should be okay now!