rename home directory

Johnny Rosenberg gurus.knugum at gmail.com
Mon Mar 12 20:58:05 UTC 2012


2012/3/12 Alexander Skwar (ML) <alexanders.mailinglists+nospam at gmail.com>:
> Am 12.03.2012 14:31, schrieb Saikat Saha:
>
>> Hi,
>>
>> i want to rename "/Home/username" this folder only.
>
>
> usermod -d
>
> from man usermod:
>
>       -d, --home HOME_DIR
>           The user's new login directory.
>
>           If the -m option is given, the contents of the current home
>           directory will be moved to the new home directory, which is
> created
>           if it does not already exist.
>
>
> But, as I said, it might not work so well, because of applications,
> which store path names in their configuration files.

And reinstalling those won't help? Or at least uninstalling and then
installing again?

I suppose that sed in some kind of loop could solve the problem
otherwise, couldn't it?



Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ
>
>
>
> Alexander




More information about the ubuntu-users mailing list