Welcome to maniacmartin, the personal site of Martin Smith.
I'm listening to The Gap Band – You Dropped A Bomb on Me

I'm cycling the length of the UK (1000 miles) for charity. Sponsor me now!


    17 September 2007

    Running a command as a /bin/false user

    Filed under: Computer — martin @ 9:07 pm

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

    If you want a shell:
    su -s bash username

    No Comments »

    No comments yet.

    RSS feed for comments on this post. TrackBack URL

    Leave a comment