Most Popular

1500 questions
151
votes
11 answers

Home directory not being created

I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using sudo useradd -d /home/linda linda and passwd to create the password. I check that an entry has been made using cat /etc/passwd…
tchakravarty
  • 1,767
151
votes
6 answers

How to install VirtualBox from command line?

I am a newbie. For some reasons, I need to install Virtualbox. I see that I can easily install it using the Software Center, but I trust most the apt-get install way, because I find it safer, less buggy, and it helps me accommodate more with the…
Cristiana Nicolae
  • 4,580
  • 10
  • 32
  • 46
151
votes
4 answers

How do I force SSH to only allow users with a key to log in?

I tried following the instructions here: http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ to only allow users with a public key on the server to authenticate, but I can't get SSH to…
user193805
  • 1,611
  • 2
  • 11
  • 3
151
votes
5 answers

Migrate from a virtual machine (VM) to a physical system

Aka: How can I convert a .vdi or .vmdk to a real installation on a physical disk? Is it possible/feasible to migrate a Virtual Machine installation of Ubuntu onto a physical machine? If possible, how difficult would this be to accomplish and what…
dting
  • 2,275
151
votes
9 answers

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them jim for the rest of this). I want them to have a…
Oli
  • 299,936
151
votes
6 answers

How can I remove duplicate second Unity Launcher on a Dual Screen setup?

On my dual screen display I have a Unity Launcher on the left hand screen and also on the right hand screen. Both work perfectly fine. However, I don't want this second launcher present on my right hand screen. How could I remove this? If it…
150
votes
8 answers

What is the equivalent of 'Control-Alt-Delete'?

On Windows anytime the system hangs Ctrl - Alt - Del brings up the Start Up Manager, from which you can end the program or process causing the hang. Is there any command like this on Ubuntu?
Mysterio
  • 12,348
150
votes
1 answer

How to create a symbolic link in a linux directory?

I want to create a symlink that should point to another directory. Like inside directory /var/www/vhosts/ecash-staging.com/ should be a symlink named as ecash_root that should pointing to --> /var/www/vhosts/ecash_cfe . How is this possible ? I have…
Waqas Rana
  • 1,611
150
votes
10 answers

How do you update npm to the latest version?

I'm having issues with npm in a Vagrant box I'm setting up. I noticed that the npm version is somewhat old, so I wanted to check the problem with the latest release. It is my understanding that you should be able to update npm using npm install -g…
150
votes
3 answers

How to install H.265 / HEVC codec on Ubuntu Linux?

I have seen that the new DivX Player 10 shows off H.265/HEVC playback, the successor of H.264. I wonder how I may get this support in Linux. Is there a need to install a codec specific for this format? How?
Majal
  • 8,249
150
votes
9 answers

How can I find out my user name?

How do I know my username? I've installed Ubuntu, but I don't know my username, only my password. I can't access my laptop and it can't be opened.
Jayharte
  • 1,519
  • 2
  • 10
  • 3
150
votes
9 answers

How do I check the health of a SSD?

We all know that SSDs have a limited predetermined life span. So the question for me is how do I check in (Ubuntu) Linux what the current health status of my SSD is? And maybe an estimation how long it will take? Graphical tool is preferred, but…
keiki
  • 2,017
150
votes
5 answers

Chkconfig alternative for Ubuntu Server?

I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for system services on Ubuntu? Ultimately looking for the…
Marco Ceppi
  • 48,887
150
votes
9 answers

How to change the default font size of XTerm?

XTerm font is very small. How can I set it larger?
Sudo
  • 1,503
  • 2
  • 10
  • 4
150
votes
14 answers

Headphone jack not working?

I have a Dell Studio XPS 1647 and headphones do not work (though , internal speakers work like a charm) , I have dual boot Windows 7 and headphones work perfectly fine ... I also tried -adding in options snd-hda-intel model=eapd probe_mask=1…