[YLUG] Bash History problem

Liam Wilson liam.wilson at yahoo.com
Fri Jan 18 19:35:26 GMT 2008


--- Tom Hayward <nessieliberation at gmail.com> wrote:

> that, but maybe not exactly this problem, is why you
> shouldnt run graphical
> apps using sudo on ubuntu - gksudo (or kdsu?) is the
> equivalent, and doesnt
> set various strange files in ~/ as owned by root

It happens because (in Ubuntu) sudo doesn't change
$HOME to /root when you run something like sudo -s
(which is what I did whilst setting up the
laptop).sudo -H -s should set home to /root if you
need a root shell.

Liam


      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com




More information about the York mailing list