Due to NIH syndrome and Drepper being Drepper, the only remotely secure password hashing algorithm in RHEL5/6 is multi-rounds SHA512. The default is just salted SHA512 which sucks.
Also applies to CentOS, ScientificLinux, and other RHEL clones.
Anyway, to update the default setting, these files need updating:
/etc/login.defs: add new line
/etc/pam.d/system-auth-ac: find line with `
password sufficient pam_unix.so sha512` and append
Note that the change to last file may or may not be persistent. I have no idea how to properly set it up.
Finally, run this command:
If you’re using RHEL5, run
authconfig --passalgo=sha512 --update first.
Finally reached the goal: Rails 3.2.6. The isn’t much change between 3.1 and 3.2 which is why I skipped 3.1. As there isn’t much front-end change, it means there isn’t any user-visible changes. Or at least there shouldn’t be.
- Move to jQuery
- Use paper_trail for versioning (or something else)
- Add SVG support (and maybe drop SWF support)
- Actual news ticker
- And more!
3.2.0 has been branched and currently running on some servers. The next version, 3.2.1 is on default branch and being tested on moe.myconan.net. As (finally) there are database changes, it will not be tested directly on live servers until it is stable enough.
Changes include better support for JRuby, use mini_magick instead of custom plug-in, less monkey-patches (but more bugs), and various clean-ups.
Steps to be into Rails in subdirectory:
config.ru to understand the subdirectory mapping:
map (ENV['RAILS_RELATIVE_URL_ROOT'] || '/') do
And then start Rails with correct environment variable (example if you use Unicorn):
And that’s it. No need to mess with
routes.rb as I previously thought after searching and experimenting for few hours. Links etc are properly generated with correct prefix. Or at least based on my quick testing.
May or may not work with earlier version(s) as I haven’t bothered to test it anywhere else.
A lightweight series which cover one or more generals (female version, obviously) from Sengoku period who have been thrown into modern time. Basically yet another moefied historical figures anime.
What’s mind-blowing is the fact that it will be a 2-cours (26 episodes according to Wikipedia) anime. Like, how is it even possible? (perhaps because it’s produced by Brain’s Base?)
Its first opening theme (and ending) is awesome (read: fun) though.