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-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux