$10 reward for Help! DirectAdmin How to set users to use second hard drive?

Discussion in 'Site & Server Administration' started by Hendrickson, Dec 16, 2009.

  1. #1
    Hi need help please. I'm trying to set my directadmin to use the second harddrive I have mounted and partitioned to be /disk2

    I've set my /usr/local/directadmin/conf/directadmin.conf quota_partition= to be quota_partition=disk2

    And quotas are enabled etc. However when I create a new user it still defaults to /home/username on the first HDD the root / partition.

    I'm stumped, how on earth can I get the damn directadmin to start placing new users onto /disk2 ??

    Please help! If someone can help me fix this then I will reward them with $10 via paypal :)
     
    Hendrickson, Dec 16, 2009 IP
  2. new

    new Peon

    Messages:
    1,433
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #2
    when you add a user by useradd than you can specify what is going to be his home directory

    just do useradd -d /disk2/username username

    cheers!
     
    new, Dec 16, 2009 IP
  3. Hendrickson

    Hendrickson Active Member

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    where do I do this? in /directadmin?
     
    Hendrickson, Dec 16, 2009 IP
  4. new

    new Peon

    Messages:
    1,433
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I found this for you

    http://directadmin.com/forum/showpost.php?p=122106&postcount=2

    after that you can add the users by the usual way you do
     
    new, Dec 16, 2009 IP
  5. Hendrickson

    Hendrickson Active Member

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Great works! Please pm me your paypal email for your $10
     
    Hendrickson, Dec 16, 2009 IP
  6. Hendrickson

    Hendrickson Active Member

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    Payment sent.
     
    Hendrickson, Dec 16, 2009 IP