Sudo vs. root
Dotan Cohen
dotancohen at gmail.com
Sat Apr 17 07:49:37 UTC 2010
On 17 April 2010 00:12, John DeCarlo <johndecarlo at gmail.com> wrote:
> 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.
>
I see, thanks! I did read the sudo manpage but that was not clear.
--
Dotan Cohen
http://bido.com
http://what-is-what.com
More information about the ubuntu-users
mailing list