Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-18-2007, 05:20 PM   #1
LQ Newbie
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
Add to path of all users home Dir.

Is this easily possible via a command...

I have about 100 user accounts that currently have a home dir like this example...


I want to make it all...


This has come about during a new server upgrade and I would like to have a different path for the home directories. If there is an easy way besides doing usermod -d blah blah I would love to hear it.

I am simply adding /home/ in the front off all the current paths.

Thank you.
Old 12-18-2007, 05:27 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
You can probably do it with a symbolic link:

ln -s /some /home/some

Steve Stites


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Home Dir Path paul.hendrikus Linux - Software 7 02-05-2007 02:47 AM
howto add a dir to the path? vegetassj2 Linux - Newbie 11 08-16-2006 02:02 PM
find users home dir c++ Simon_6162 Programming 2 02-04-2005 07:53 PM
Changing home dir path? NonSumPisces Linux - Newbie 4 08-22-2004 04:16 PM
how to add mandrake distro menu path dir to KDEDIRS mmodem Mandriva 0 11-15-2003 04:06 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration