Writing a su feature with Authlogic

from blog Steve Klabnik, | ↗ original
Mar 05 2010 Sometimes, when responding to a support request, it’s nice to see what your users see. At the same time, you don’t want to ask your users for their passwords, out of respect for their privacy. So what do you do? Well, *NIX systems have a program called su. Here’s what man su has to say: NAME su - run a shell with substitute user and group...