Breezy: X Won't Start
Dennis Kaarsemaker
dennis at kaarsemaker.net
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: http://www.ubuntulinux.org
- Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050701/e180b744/attachment.sig>
More information about the ubuntu-users
mailing list