Re: Changing home directory



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



Relevant Pages

  • Re: Redhat Linux 9
    ... I also use Telnet, FTP and Samba. ... still log in from the console as Root. ... OOPS chdir Login failed. ...
    (comp.os.linux.misc)
  • root access to ftp, telnet
    ... I'm trying to replicate a successful FreeBSD installation ... I can access it fine as root, either ftp or telnet, when I ...
    (freebsd-questions)
  • Re: [SLE] How to allow ftp and telnet
    ... access with ftp any of my files from his remote location. ... Instead use ssh and scp. ... the machine and scp to copy files in a secure manner. ... ftp and telnet are -not- secure and could result in your machine being ...
    (SuSE)
  • Re: Three C questions
    ... machine one assumes it is exposed on the internet. ... I have thought about that, but there is no ftp, no telnet, ... allowed for anyone but root. ...
    (comp.lang.c)
  • Re: Telnet access for root
    ... how would you disable telnet while allowing SSH for root? ... Disable TELNET and FTP completely by commenting them out in the inetd.conf ... Enable root access for SSH in the sshd_config file and restarting the ...
    (comp.unix.solaris)