Sudo vs. root

John DeCarlo johndecarlo at gmail.com
Fri Apr 16 21:12:18 UTC 2010


On Fri, Apr 16, 2010 at 4:54 PM, Dotan Cohen <dotancohen at gmail.com> wrote:

> He insists that he has tried to start the server with sudo from a
> regular user account, but that it "doesn't work": it starts but does
> not serve. I will go over there on Sunday to take a look at the
> machine, but before I go I'd like to know if there is any real
> difference between running an application as root vs. running with
> sudo.
>

There is absolutely a difference.  If I were smarter, I would give you a URL
that explains all the technical details.

Have him log on as a regular user, go to the command line, type "sudo -i"
then try the app.  It should work.

"sudo -i" makes you root, gives you $HOME of /root, loads the /root/.profile
and whatever.

-- 
John DeCarlo, My Views Are My Own
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100416/e9b614be/attachment.html>


More information about the ubuntu-users mailing list