Sunday, January 15, 2012

How to run Linux program as another user


To run a script as some other user:
        /bin/su - <username> -c <script or command>

No comments:

Post a Comment