5

Possible to ignore the users shell in "su" command?

view full story
linux-howto

http://serverfault.com – If I do su - -c 'mkdir bin' user1 then I get su: /usr/bin/ksh: No such file or directory because the users shell is set to ksh in /etc/passwd and ksh is not installed. Question How do I carry commands out as the user in such a case? (HowTos)