computer/properties
    Nils Kassube 
    kassube at gmx.net
       
    Mon Jun  9 13:48:58 UTC 2014
    
    
  
Tom H wrote:
> On Mon, Jun 9, 2014 at 7:25 AM, Liam Proven <lproven at gmail.com> wrote:
> > On 9 June 2014 13:22, Tom H <tomh0665 at gmail.com> wrote:
> >> ; you just need to
> >> switch to root with "sudo -i".
> > 
> > I have never known the difference between ``sudo -s'' and ``sudo
> > -i''. I always use the former. Can you clarify?
> 
> "sudo -i" is the same as "sudo su -" and "sudo -s" is the same as
> "sudo su".
I think that is only partly correct. With "sudo su" I have $HOME set to 
"/root" while it is still "/home/$USER" for "sudo -s". That is an 
important difference if I then start an application that modifies 
configuration files and changes their permissions in $HOME. It may 
therefore prevent further access to those files by the original user and 
the application run as normal user may no longer work.
Nils
    
    
More information about the ubuntu-users
mailing list