09 août 2006

lancer une application graphique en root (Ubuntu 6.06)

Ubuntu assigns a random root password to discourage users from logging in as root. This is a safety precaution. When you need to execute a command as root, you’ll need to use the sudo command. For instance, if you want to use vi to edit the /etc/fstab file, you’d type sudo /vi /etc/fstab. Ubuntu will prompt you for a password. Provide the password for the user account you’re currently logged into. If you need to run a graphical application as root, press ALT-F2 and type gksudo and then the application name. Synaptic, for instance, is a graphical tool for installing new software, but you must run it as root. To run Synaptic, press ALT-F2 and type gksudo synaptic. When prompted, provide your user password.

Aucun commentaire: