what is Debian way to move a user's home directory?
If I have a user with home dir /here/user and wish to move their home
dir to /somewhereelse/user then is there a 'good way' of doing so or is a) mv /here/user /somewhereelse/user b) change /here/user to /somewhereelse/user for user entry in /etc/passwd sufficient? thanks, Michael -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
what is Debian way to move a user's home directory?
On Thu, 2008-10-09 at 11:22 +0000, Roberto D'Oliveira wrote:
> 2008/10/9 michael <cs@networkingnewsletter.org.uk>: > > If I have a user with home dir /here/user and wish to move their home > > dir to /somewhereelse/user then is there a 'good way' of doing so or is > > a) mv /here/user /somewhereelse/user > > b) change /here/user to /somewhereelse/user for user entry > > in /etc/passwd > > sufficient? > > > > thanks, Michael > > > > > > -- > > usermod -m -d newlocation user brill... I thought there would be something! my quick search was obviously too quick! -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| All times are GMT. The time now is 04:45 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.