telnet home directory
hi,
i want to change home directory of telnet users.please give reply as soon as possible. |
hi,
i have a configure telnet server.but i dont want to give home directory to the users which he login.i want to change home directory of telnet users. thanking you |
I'm not sure I quite understand. You have some users that log on locally, and the same users can log on remotely using telnet. And you want them to have different home directories depending on where they log on from?
Why do you want to do this? I'm not asking because it is a dumb question, but I'm trying to figure out what you want to achieve. (Anyway, you should not use telnet unless you absolutely have to. Use ssh, it is much more secure). |
i would set $HOME to something else in the users .profile (or .bash_profile)
|
Quote:
Want to change the home directory? Then you have to change the login home directory, with the "passwd -d <path/to/new/home/directory>" command. When you log in, you automatically go to your HOME directory. You *CAN* modify the default, system-wide profile, to see if someone is logging in via network, then point them elsewhere, but that's a tricky thing to do. Also, telnet is VERY unsafe, and not used much anymore, for good reason. If you use SSH, you have chroot options available to you. |
All times are GMT -5. The time now is 02:52 PM. |