Changing home directory
Joachim Backes
joachim.backes at rhrk.uni-kl.de
Fri Nov 24 11:41:19 UTC 2006
Mattia Gandolfi wrote:
> arora.himanshu at gmail.com wrote:
>> Hi,
>> I want to change my home directory from /home/me to /tmp/me
>> without getting root involved. It also means that whether I do ssh or
>> scp or ftp or telnet it should see my home directory as /tmp/me. Any
>> suggestions ?
>>
>> Thanks,
>>
>
> usermod -dm /tmp/me <your_username>
You are sure? The manpage says:
CAVEATS
usermod will not allow you to change the name of a user who is logged in.
How to do it without logging in (as root or user)?
>
> Cheers
>
> Mattia
>
--
Joachim Backes <joachim.backes at rhrk.uni-kl.de>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5184 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061124/02a2da08/attachment-0001.bin>
More information about the fedora-list
mailing list