I’d recommend using the pwgen package to create a secure password not only for root but for all your user accounts. If you really, really want to have a root password that you know, so that you can log in as root directly (i.e., without using sudo), then run passwd when logged in as root, and set the password to whatever you want. For instance, if you’d like to run Ethereal as root, just pop open a run dialog box (Alt-F2) and use gksudo ethereal.īy the way, if you really must do work as root, you can use sudo su -, which will log you in as root. But what about running GUI apps that you want to run as root (or another user)? Simple - use gksudo instead of sudo. You probably already know how to use sudo - just run sudo commandname. Users are meant to do administration tasks using sudo and gksudo. The Ubuntu installer doesn’t set up a root user - a root account still exists, but it’s set with a random password. Ubuntu employs a different model, however. If you’ve used Linux for any amount of time, you might be used to running programs as root directly whenever you need to install packages, modify your system’s configuration, and so on. If you prefer to install packages at the command line, just use sudo dpkg -i b. Note that the package installer also checks to verify whether it can install the package - if it has dependencies that can’t be satisfied, GDebi will give an error and refuse to install it. The package installer also has a Install Package button just click that and it will install the package. GDebi will provide a description of the package, what files are included, and other details about the package. At the top of the context menu, you should see an option to open the package with the GDebi package installer. In that case, download the application’s Debian package (.deb) and right-click on the file. What if you want to install something like Opera that is available as a package for Ubuntu, but isn’t in the repositories? Most of the application software you’ll want to add to your system will be available through the Ubuntu repositories using Synaptic, Adept, or another package management tool. Note that on my system, I don’t have Emacs or many other editors installed if I did, the utility would offer the other editors as choices. Selection Alternative - 1 /usr/bin/vimt 2 /bin/ed *+ 3 /bin/nano Press enter to keep the default, or type selection number: There are 3 alternatives which provide `editor'. To change the default editor, run sudo update-alternatives –config editor. Look under the /etc/alternatives directory to see what programs are managed. The easy way to change this is to use the update-alternatives program, which maintains the symbolic links under /etc/alternatives that determine the default programs for FTP, system editor, rsh, Telnet, window manager, and so forth. For example, the default editor is set to Nano, which isn’t optimal if you’re used to Vim. Ubuntu comes with a number of defaults that may or may not be to your liking. However, if you run Ubuntu on AMD64 or PowerPC hardware, you’ll still be out in the cold for some of the packages, since some multimedia formats depend on proprietary software that’s not available for those hardware platforms. The Ubuntu wiki has a page on restricted formats that explains how to get the packages you need. This is inconvenient, but the Ubuntu folks have good reasons for not shipping with support for MP3, DVDs, and so forth - including that software could cause them some legal headaches, or incur some serious fees.įortunately, as a user, you don’t need to worry about fees (though some of the packages may not be legal due to patent restrictions or restrictions on circumventing copy protection, depending on where you live). The default Ubuntu install contains free software only, which means that it doesn’t support some popular multimedia formats straight out of the box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |