Breezy: X Won't Start

Dennis Kaarsemaker dennis at
Thu Jun 30 22:30:04 UTC 2005

On do, 2005-06-30 at 18:03 -0400, Stephen R Laniel wrote:
> I believe 'sh -c' is necessary because the above command
> will be sudo'd, and the sudo will not work properly with
> '>'.

That's only neccessary if the file being written to is not writable by
the current user...

> An alternative would be to do 'sudo sh', then run the above
> command, then exit out of the root shell. But the above
> command is more failsafe.

sudo sh is inherently unsafe (does not set $HOME and $USERNAME). 
sudo -i is the proper command to get a root shell.
Dennis K.
  - Linux for human beings:
  - Linux voor normale mensen:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list