Sudo vs. root
NoOp
glgxg at sbcglobal.net
Fri Apr 16 21:43:57 UTC 2010
On 04/16/2010 02:30 PM, Brian McKee wrote:
> On Fri, Apr 16, 2010 at 4:54 PM, Dotan Cohen <dotancohen at gmail.com> wrote:
>> I have a neighbor who runs some Java server on his Ubuntu machine. He
>> actually logs into the GUI as root and then runs the server from the
>> terminal.
>
> Seems to me the issue here really is how he's starting it.
> It should start itself so to speak.
>
> Put it in /etc/init.d/rc.local or /etc/crontab or whatever and let the
> system itself start it.
>
> If for some reason he really has to start it manually, try 'sudo -i'
> to get a root prompt and run it from there. I *think* that will get
> all your ENV variables the way required.
>
> Brian
>
These may be of help also:
https://help.ubuntu.com/community/ServerFaq
https://help.ubuntu.com/community/RootSudo
https://help.ubuntu.com/community/Sudoers
https://help.ubuntu.com/9.10/index.html
[Ubuntu Server Guide (PDF version)]
More information about the ubuntu-users
mailing list