Change Home path

As root, open the file /etc/passwd

You will see a line that looks like this:
Code:
  • davidq:x:1000:100:,,,:/home/davidq:/bin/bash
Change it to this:
Code:
  • davidq:x:1000:100:,,,:/home/whatevery:/bin/bash

Make sure you have done this:

Code:
  • mkdir /home/whatevery
  • chown davidq /home/whatevery

Tag Cloud