In article <[EMAIL PROTECTED]>, Anita Lewis <[EMAIL PROTECTED]> wrote: >> >> > I want to start a p2p program while booting. I tried to write a script=20 >> > for /etc/init.d it works but only as root. >> > I want the program starting as a user process (for security reasons). >> >=20 >> > How can root start automatically a process as a user? >> >> Beside using start-stop-daemon, su or sudo, you could just use cron. As >> the user run "crontab -e" and use @reboot as time argument. >> >> >> Yours sincerely, >> Alexander > >I tried doing this with @reboot in all the time arguments and in just the >minutes. When I reboot, neither way works. How exactly do I put @reboot in >the crontab? Could you give me an example, please? > >Here is what I have currently: > >@reboot * * * * fahstart > >'fahstart' is what I normally type to get [EMAIL PROTECTED] going. It's a little >script in ~/bin.
Something like this: =-=-=-=-= # Set the path PATH=/home/ajlewis2/bin:$PATH # Run fahstart at boot time. @reboot fahstart =-=-=-=-= Mike. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]