I've just signed up for a DreamHost account and I'm in the process of setting everything up. I've created separate users for separate areas of my site, but as the "master user" I'd like to be able to access the other home directories via the shell, even though those accounts don't have shell access (SFTP only.)
Normally I would just "su " but this doesn't work - it just freezes after I type in my password. I'm guessing this is because the users are SFTP only, so 'su' is succeeding but running the SFTP shell instead. I thought I could do something like "su -s /bin/bash " to get around this by loading a different shell, but apparently not.
Is there any way I can switch users through the shell even if those users don't have shell access?