Results 1 to 6 of 6

Thread: How to start a process with root permissions?

  1. #1
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299

    How to start a process with root permissions?

    Hello together,

    does somebody know how I can start a process in post-boot with root Permissions?
    My Problem is, darkstat crashes after 5 minuten running.

  2. #2
    every process you run at boot, except the dnsmasq, is run as root (admin). check with a ps command right after the boot to check this. Your crash is probably due to another problem.
    Last edited by hugo; 17-02-2005 at 08:50.

  3. #3
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    You are rigth, it runs as root.

    But, why does the process chrashes?

  4. #4
    because it has not been compiled and fully tested. I think it is just a result from a make, wityh some cross compiling parameters, but no extensive testing afterward. Try tu use command line switch to see if some are working better than other. Try also to link to another interface, like br0 or eth0 to see how it goes.

  5. #5
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    because it has not been compiled and fully tested. I think it is just a result from a make, wityh some cross compiling parameters, but no extensive testing afterward.
    It's darkstat.

    The Problem is, why does it crashes after exactly 5 Minutes?

    The log says:
    "lp driver: get device id"
    "neg fail"
    "neg fail"

    What does this mean?

  6. #6
    try ./darkstat -i ppp0
    check if you have the same problem
    else try ./darkstat -i br0
    then ./darkstat -i eth0 if everything fails.

Similar Threads

  1. Router will not start
    By siaco in forum WL-500g Q&A
    Replies: 7
    Last Post: 18-04-2005, 18:47
  2. WL-HDD User Permissions
    By henri95 in forum WL-HDD Q&A
    Replies: 10
    Last Post: 03-03-2005, 09:13
  3. What i must do to start vsftpd from hdd on wl-hdd
    By AlexSuslov in forum WL-HDD Q&A
    Replies: 1
    Last Post: 22-02-2005, 20:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •