run script as a specfic user - Unix

This is a discussion on run script as a specfic user - Unix ; Can I run scripts as a specific user If I'm logged in as Root?...

+ Reply to Thread
Results 1 to 2 of 2

Thread: run script as a specfic user

  1. run script as a specfic user

    Can I run scripts as a specific user If I'm logged in as Root?


  2. Re: run script as a specfic user

    2007-01-26, 11:53(-08), jobs:
    > Can I run scripts as a specific user If I'm logged in as Root?


    Yes.

    su user -c 'your cmd here'

    --
    Stéphane

+ Reply to Thread