Re: seti automatically non-root



johnny bobby bee <useraddshine-no_spam_eh@xxxxxxxx> wrote:
Anyone running boinc/seti or other distributed computing software? I've
always run it as a regular user once I log in.

Trying to find a way to run it automatically (not as root) on a server
and another PC that should not depend on when a specific user logs in.

Putting a script in /etc/init.d/ or /etc/rc.local works, but causes seti
to run as root. I'd rather not run as root. Anyone suggest other
alternatives?

This is on Ubuntu (Hardy).
cheers.


su - username -c "/usr/bin/seti -al" # or whatever the program name
and args are.

Should work as a script in init.d.

Sid



.



Relevant Pages

  • RE: [PHP] mkdir permission errors
    ... you're running the above script as root. ... Then if you run the same script via the web server, ... and permissions. ... understanding of those if you're going to administer the server. ...
    (php.general)
  • Lost access to server after running CIS hardening script
    ... After running the hardening script below, ... created /.rhosts to permit other Solaris servers' root ... What's the equivalent of "admintool" in Solaris 10 as I ... server to recover passwords as it appears not to ...
    (SunManagers)
  • expect script hangs while waiting for the flag...
    ... I wrote a simple expect script ... set user "root" ... foreach server $server_list { ... spawn ssh root@xxxxxxxxxxx ...
    (comp.lang.tcl)
  • Re: how to get a script to run as root
    ... So I need the script to run as root. ... some hacker could wipe out your entire server with one command. ...
    (comp.lang.php)
  • Re: [SLE] Xlib error
    ... all users get a warning message window saying the session lasted ... with $USER as your regular user name other than root. ... access to the X server. ... extract the authorization from regular user: ...
    (SuSE)