Re: Changing home directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
arora.himanshu@xxxxxxxxx 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,
Do you have root privileges? You would not be getting the root user
involved ;)

For a normal user, .bashrc can fool ssh/telnet, maybe even scp, but
not ftp. To fool ftp, you would need to configure your ftpd which
probably requires root privileges. But then again, if you have those
root privileges, usermod -d /tmp/me <username> solves the problem for
ssh, scp and telnet, and maybe ftp.

Kind regards,

Jeroen van Meeuwen
- -kanarip
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
 
iD8DBQFFZut5KN6f2pNCvwgRAhEXAJ4rYnQKPsor0ozxczCjZix2d+dJngCfZfJ2
fu/Y7kkFAz7O1cDbUTyyBL4=
=JW7u
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux