The Linux Pages

Month: May 2015

How to reset drupal password

26 May 201516 November 2016 ench0 Leave a comment drupal, web development

Recovering lost user (admin) password [ src: https://www.drupal.org/node/44164 ] Drupal 6 UPDATE users SET pass = MD5(‘givememypasswordback’) WHERE uid=1; Drupal 7 php ./scripts/password-hash.sh newpwd The script will output a password hash that is valid for the site, something like: $S$CTo9G7Lx28rzCfpn4WB2hUlknDKv6QTqHaf82WLbhPT2K5TzKzML Use it in a SQL query to set new passwd: UPDATE users SET pass =’$S$CTo9G7Lx28rzCfpn4WB2hUlknDKv6QTqHaf82WLbhPT2K5TzKzML’ […]

Continue reading


Tags

bash boot compile C programming drupal drush emacs etc ethernet Fedora git grep how to html httpd init kernel linux linux partition login mariadb mount mysql networking oracle package managers password phpMyAdmin programming rpm shell sql ssh vbox version control system virtual box vm web server win32 wordpress www xargs xfce xwin yum

Categories

  • Android Development
  • Bash
  • C programming
  • dpkg/apt-get
  • drupal
  • Emacs
  • Git
  • Java
  • Linux administration
  • Linux device drivers
  • Linux Gaming
  • Linux kernel
  • Linux Networking
  • Linux on Windows
  • Linux printing
  • Linux sound and ALSA
  • Package Managers
  • Programming
  • RPM
  • Shell and environment
  • Tips and tricks
  • Uncategorized
  • VirtualBox
  • Virtualization
  • web development
  • wine
  • WMaker
  • Wordpress Tips
  • X Window System
  • XFCE
dazzling Theme by Colorlib Powered by WordPress