I created a "system" user in Ubuntu 11.04 (
adduser --system) for running certain cron jobs, but sometimes I want to test things out by manually running commands as that user. What's the easiest way to do this?
su doesn't work, because the user has
/bin/false as its shell (which is fine for cron). I've been manually changing the shell to
/bin/bash to do my testing and then changing it back again, but I wonder is there an easier way?