Running a command as a /bin/false user

In case anyone else wants to run a command as a user whose default shell is set to /bin/false, type this:

<code>su -s <strong>command</strong> <strong>username</strong></code>

If you want a shell:
<code>su -s bash <strong>username</strong></code>

Posted 17th September 2007 in Computer, with 0 comments

Digg!

comments


  1. (optional)