[CLUE-Tech] set user id of script
Adam Bultman
adamb at glaven.org
Thu Jun 6 11:35:17 MDT 2002
su <username> -c "command"
I use it to start postgresql:
su postgres -c "/usr/bin/postmaster -i -D/var/lib/pgsql/data -N 512 -B
1024"
--
Adam Bultman
adam at glaven.org
[ http://www.glaven.org ]
On Thu, 6 Jun 2002, Dave Price wrote:
> Hi,
>
> Is there a 'nice' way to execute a line in a script (or a script at
> startup under the priveleges of another user ...
>
> I need to run some oracle scripts as different oracle uids which have
> appropriate priveleges ...
>
> thanks.
>
> aloha,
> dave
>
>
>
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
>
More information about the clue-tech
mailing list