LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

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


Hello,
Is this easily possible via a command...

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

/some/thing/like/this

I want to make it all...

/more/some/thing/like/this

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
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,549

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

ln -s /some /home/some

---------------------------
Steve Stites
 
  


Reply


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


All times are GMT -5. The time now is 05:25 PM.

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