Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 01:28:07 +0800 (CST)
From:      =?iso-8859-1?q?adrian=20kok?= <adriankok2000@yahoo.com.hk>
To:        questions@FreeBSD.org
Subject:   run program not root
Message-ID:  <20030413172807.35362.qmail@web21205.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all

how do I make script to run program by another user?

eg:

#!/bin/sh
su - jabberd
/usr/local/jabber/jabber-1.4.2/jabberd/jabberd -c
/usr/local/jabber/jabber-1.4.2/jabber.xml 

Thank you

_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030413172807.35362.qmail>