PDA

View Full Version : runngin prog as own user + autostart at booting, how?


sonium
March 22nd, 2005, 06:02 AM
Hi,
I want to build an Asterisk (http://www.asterisk.org) Server. So I have installed tha Asterisk package by Synapting. After looking in /etc/passwd I found it made hisself an new account
asterisk:x:115:115:Asterisk PBX daemon,,,:/var/lib/asterisk:/bin/false
fine.
1. how do I start the program using this account?
2. how do I setup the program to start at boot time using this account?

- Sonium

alastair
March 24th, 2005, 08:51 PM
You can run a command as another user using "su". See : man su

But you might be best looking at the docs for the s/w. There might be some docs in /usr/share/doc/asterisk*, or some man pages installed that will help you.